[gnome-system-monitor] No more deprecated GTK+ symbols.



commit f1d7cc590001e9d582d3c8cd37989a32c0ffd699
Author: Benoît Dejean <benoit placenet org>
Date:   Sat Apr 18 22:33:19 2009 +0200

    No more deprecated GTK+ symbols.
    Closes #561963.
    
    Bumped version number.
---
 configure.in      |    4 ++--
 src/interface.cpp |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.in b/configure.in
index 57e5f71..a010dc3 100644
--- a/configure.in
+++ b/configure.in
@@ -2,7 +2,7 @@ dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.52)
 
-AC_INIT([gnome-system-monitor], [2.26.1],
+AC_INIT([gnome-system-monitor], [2.26.2],
         [http://bugzilla.gnome.org/enter_bug.cgi?product=system-monitor])
 AC_CONFIG_SRCDIR(configure.in)
 AC_CONFIG_HEADERS(config.h)
@@ -28,7 +28,7 @@ GLIB_REQUIRED=2.16.0
 GCONF_REQUIRED=1.1.5
 LIBWNCK_REQUIRED=2.5.0
 LIBGTOP_REQUIRED=2.23.1
-GTK_REQUIRED=2.12.0
+GTK_REQUIRED=2.16.0
 GNOME_ICON_THEME_REQUIRED=2.15.3
 GTKMM_REQUIRED=2.8
 GIOMM_REQUIRED=2.16.0
diff --git a/src/interface.cpp b/src/interface.cpp
index fb6777a..aa7ca04 100644
--- a/src/interface.cpp
+++ b/src/interface.cpp
@@ -553,7 +553,7 @@ menu_item_select_cb (GtkMenuItem *proxy,
 	GtkAction *action;
 	char *message;
 
-	action = gtk_widget_get_action(GTK_WIDGET(proxy));
+	action = gtk_activatable_get_related_action (GTK_ACTIVATABLE(proxy));
 	g_assert(action);
 
 	g_object_get (G_OBJECT (action), "tooltip", &message, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]