mirror of https://github.com/GNOME/gimp.git
Fix the bulid after GtkNotebookPage got deprecated in gtk-2-22
In all GtkNotebook::switch_page() callbacks, simply replace GtkNotebookPage* by gpointer.
This commit is contained in:
parent
e14c50aaef
commit
8b31211639
|
@ -90,7 +90,7 @@ static void prefs_message (GtkMessageType type,
|
|||
const gchar *message);
|
||||
|
||||
static void prefs_notebook_page_callback (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GtkTreeSelection *sel);
|
||||
static void prefs_resolution_source_callback (GtkWidget *widget,
|
||||
|
@ -801,7 +801,7 @@ prefs_tree_select_callback (GtkTreeSelection *sel,
|
|||
|
||||
static void
|
||||
prefs_notebook_page_callback (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GtkTreeSelection *sel)
|
||||
{
|
||||
|
|
|
@ -163,7 +163,7 @@ static gboolean gimp_image_window_shell_events (GtkWidget *wid
|
|||
GimpImageWindow *window);
|
||||
|
||||
static void gimp_image_window_switch_page (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
gint page_num,
|
||||
GimpImageWindow *window);
|
||||
static void gimp_image_window_page_removed (GtkNotebook *notebook,
|
||||
|
@ -1236,7 +1236,7 @@ gimp_image_window_shell_events (GtkWidget *widget,
|
|||
|
||||
static void
|
||||
gimp_image_window_switch_page (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
gint page_num,
|
||||
GimpImageWindow *window)
|
||||
{
|
||||
|
|
|
@ -98,7 +98,7 @@ static void gimp_device_editor_select_device (GimpContainerView *view,
|
|||
GimpDeviceEditor *editor);
|
||||
|
||||
static void gimp_device_editor_switch_page (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpDeviceEditor *editor);
|
||||
static void gimp_device_editor_delete_clicked (GtkWidget *button,
|
||||
|
@ -398,7 +398,7 @@ gimp_device_editor_select_device (GimpContainerView *view,
|
|||
|
||||
static void
|
||||
gimp_device_editor_switch_page (GtkNotebook *notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpDeviceEditor *editor)
|
||||
{
|
||||
|
|
|
@ -72,7 +72,7 @@ static void gimp_color_notebook_set_config (GimpColorSelector *selector,
|
|||
|
||||
|
||||
static void gimp_color_notebook_switch_page (GtkNotebook *gtk_notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpColorNotebook *notebook);
|
||||
|
||||
|
@ -319,7 +319,7 @@ gimp_color_notebook_set_config (GimpColorSelector *selector,
|
|||
|
||||
static void
|
||||
gimp_color_notebook_switch_page (GtkNotebook *gtk_notebook,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpColorNotebook *notebook)
|
||||
{
|
||||
|
|
|
@ -87,7 +87,7 @@ static void gimp_color_selection_set_property (GObject *object
|
|||
GParamSpec *pspec);
|
||||
|
||||
static void gimp_color_selection_switch_page (GtkWidget *widget,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpColorSelection *selection);
|
||||
static void gimp_color_selection_notebook_changed (GimpColorSelector *selector,
|
||||
|
@ -539,7 +539,7 @@ gimp_color_selection_set_config (GimpColorSelection *selection,
|
|||
|
||||
static void
|
||||
gimp_color_selection_switch_page (GtkWidget *widget,
|
||||
GtkNotebookPage *page,
|
||||
gpointer page,
|
||||
guint page_num,
|
||||
GimpColorSelection *selection)
|
||||
{
|
||||
|
|
|
@ -433,7 +433,7 @@ edit_area_cancel_cb(gpointer data)
|
|||
}
|
||||
|
||||
static void
|
||||
switch_page(GtkWidget *widget, GtkNotebookPage *page, gint page_num,
|
||||
switch_page(GtkWidget *widget, gpointer page, gint page_num,
|
||||
gpointer data)
|
||||
{
|
||||
AreaInfoDialog_t *param = (AreaInfoDialog_t*) data;
|
||||
|
|
Loading…
Reference in New Issue