aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnome-system-monitor/002-replace-gtknotebookpage.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-04-25 16:32:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-04-25 19:52:57 +0000
commit2749b73eab8f40766ed08ed06771943107704f94 (patch)
tree1edf576255ee5b7fddad4cb5f82dac4b68eb73a9 /main/gnome-system-monitor/002-replace-gtknotebookpage.patch
parentd98256295edd37208538ecd0241d17eedf5fbeb0 (diff)
downloadaports-2749b73eab8f40766ed08ed06771943107704f94.tar.bz2
aports-2749b73eab8f40766ed08ed06771943107704f94.tar.xz
main/gnome-system-monitor: rebuild against glib-2.32
Diffstat (limited to 'main/gnome-system-monitor/002-replace-gtknotebookpage.patch')
-rw-r--r--main/gnome-system-monitor/002-replace-gtknotebookpage.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/main/gnome-system-monitor/002-replace-gtknotebookpage.patch b/main/gnome-system-monitor/002-replace-gtknotebookpage.patch
new file mode 100644
index 0000000000..b1b9a52f04
--- /dev/null
+++ b/main/gnome-system-monitor/002-replace-gtknotebookpage.patch
@@ -0,0 +1,35 @@
+From b72d92a3bebaaa6d7382f582aef149bb604f3e11 Mon Sep 17 00:00:00 2001
+From: Javier Jardón <jjardon@gnome.org>
+Date: Thu, 30 Sep 2010 16:42:44 +0000
+Subject: Replacing GtkNotebookPage with GtkWidget according to changes in GTK+
+
+Signed-off-by: Chris Kühl <chrisk@openismus.com>
+---
+diff --git a/src/callbacks.cpp b/src/callbacks.cpp
+index be2c16a..b0ac269 100644
+--- a/src/callbacks.cpp
++++ b/src/callbacks.cpp
+@@ -323,7 +323,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 v0.9