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:
Michael Natterer 2010-07-16 15:24:25 +02:00
parent e14c50aaef
commit 8b31211639
6 changed files with 11 additions and 11 deletions

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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)
{

View File

@ -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;