summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author=?UTF-8?q?Javier=20Jard=C3=B3n?= <[email protected]>2010-09-30 18:42:44 +0200
committerBenjamin Valentin <[email protected]>2012-03-17 16:45:48 +0100
commitbb04c1debe08a65ca834ad531b73fcc58b37eb2a (patch)
tree1955f5fbbc7bc3ba7cbfe5fd573019a87644fc79
parent0a2d8ddbcd904afbd80aace9de6732a7bea28399 (diff)
downloadmate-system-monitor-bb04c1debe08a65ca834ad531b73fcc58b37eb2a.tar.bz2
mate-system-monitor-bb04c1debe08a65ca834ad531b73fcc58b37eb2a.tar.xz
Replacing GtkNotebookPage with GtkWidget according to changes in GTK+
Signed-off-by: Chris Kühl <[email protected]>
-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);