From ae2897ec20de184ff793e0bdc78f72c57a89f030 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 17 Jul 2010 10:42:25 +0200 Subject: [PATCH] GtkNotebookPage has been removed in GTK+ (aa017fa) --- src/dh-util.c | 2 +- src/dh-window.c | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/dh-util.c b/src/dh-util.c index 77a0b32..85a25d6 100644 --- a/src/dh-util.c +++ b/src/dh-util.c @@ -517,7 +517,7 @@ util_state_notebook_timeout_cb (gpointer notebook) static void util_state_notebook_switch_page_cb (GtkWidget *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, gpointer user_data) { diff --git a/src/dh-window.c b/src/dh-window.c index 760e9b1..2fcec5f 100644 --- a/src/dh-window.c +++ b/src/dh-window.c @@ -983,7 +983,7 @@ dh_window_init (DhWindow *window) */ static void window_control_switch_page_cb (GtkWidget *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, DhWindow *window) { @@ -998,7 +998,7 @@ window_control_switch_page_cb (GtkWidget *notebook, static void window_control_after_switch_page_cb (GtkWidget *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, DhWindow *window) { @@ -1013,7 +1013,7 @@ window_control_after_switch_page_cb (GtkWidget *notebook, static void window_web_view_switch_page_cb (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer page, guint new_page_num, DhWindow *window) { @@ -1051,7 +1051,7 @@ window_web_view_switch_page_cb (GtkNotebook *notebook, static void window_web_view_switch_page_after_cb (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer page, guint new_page_num, DhWindow *window) { -- 1.7.3.2