summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/callbacks.cpp2
-rw-r--r--src/callbacks.h2
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);