From bb04c1debe08a65ca834ad531b73fcc58b37eb2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=3D=3FUTF-8=3Fq=3FJavier=3D20Jard=3DC3=3DB3n=3F=3D?= Date: Thu, 30 Sep 2010 18:42:44 +0200 Subject: Replacing GtkNotebookPage with GtkWidget according to changes in GTK+ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Chris Kühl --- src/callbacks.cpp | 2 +- src/callbacks.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/callbacks.cpp b/src/callbacks.cpp index 3ad102e..0e1b399 100644 --- a/src/callbacks.cpp +++ b/src/callbacks.cpp @@ -324,7 +324,7 @@ cb_tree_popup_menu (GtkWidget *widget, gpointer data) void -cb_switch_page (GtkNotebook *nb, GtkNotebookPage *page, +cb_switch_page (GtkNotebook *nb, GtkWidget *page, gint num, gpointer data) { cb_change_current_page (nb, num, data); diff --git a/src/callbacks.h b/src/callbacks.h index 4c84793..6ce3e18 100644 --- a/src/callbacks.h +++ b/src/callbacks.h @@ -60,7 +60,7 @@ gboolean cb_tree_button_pressed (GtkWidget *widget, GdkEventButton *event, void cb_change_current_page (GtkNotebook *nb, gint num, gpointer data); -void cb_switch_page (GtkNotebook *nb, GtkNotebookPage *page, +void cb_switch_page (GtkNotebook *nb, GtkWidget *page, gint num, gpointer data); gint cb_update_disks (gpointer data); -- cgit v1.2.1