gedit r6857 - in trunk: . gedit



Author: pborelli
Date: Fri Jan 23 19:37:36 2009
New Revision: 6857
URL: http://svn.gnome.org/viewvc/gedit?rev=6857&view=rev

Log:
2009-01-23  Paolo Borelli  <pborelli katamail com>

	* gedit/gedit-window.c:
	Use the proper API to get the action from the proxy.



Modified:
   trunk/ChangeLog
   trunk/gedit/gedit-window.c

Modified: trunk/gedit/gedit-window.c
==============================================================================
--- trunk/gedit/gedit-window.c	(original)
+++ trunk/gedit/gedit-window.c	Fri Jan 23 19:37:36 2009
@@ -398,7 +398,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]