goobox r373 - in trunk: . src



Author: paobac
Date: Mon Feb  2 10:45:12 2009
New Revision: 373
URL: http://svn.gnome.org/viewvc/goobox?rev=373&view=rev

Log:
2009-02-02  Paolo Bacchilega  <paobac svn gnome org>

	* src/goo-window.c: use gtk_widget_get_action instead of 
	g_object_get_data.
	
	Fixes bug #568896 â don't rely on GtkAction implementation details


Modified:
   trunk/ChangeLog
   trunk/src/goo-window.c

Modified: trunk/src/goo-window.c
==============================================================================
--- trunk/src/goo-window.c	(original)
+++ trunk/src/goo-window.c	Mon Feb  2 10:45:12 2009
@@ -692,7 +692,7 @@
         GtkAction *action;
         char      *message;
 
-        action = g_object_get_data (G_OBJECT (proxy),  "gtk-action");
+        action = gtk_widget_get_action (GTK_WIDGET (proxy));
         g_return_if_fail (action != NULL);
 
         g_object_get (G_OBJECT (action), "tooltip", &message, NULL);



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