nautilus r14884 - in trunk: . src
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14884 - in trunk: . src
- Date: Fri, 23 Jan 2009 20:26:23 +0000 (UTC)
Author: cosimoc
Date: Fri Jan 23 20:26:23 2009
New Revision: 14884
URL: http://svn.gnome.org/viewvc/nautilus?rev=14884&view=rev
Log:
2009-01-23 Cosimo Cecchi <cosimoc gnome org>
* src/nautilus-window-menus.c
(menu_item_select_cb): don't rely on GTK+ implementation details
when getting a GtkAction.
Thanks to Christian Persch (#568880).
Modified:
trunk/ChangeLog
trunk/src/nautilus-window-menus.c
Modified: trunk/src/nautilus-window-menus.c
==============================================================================
--- trunk/src/nautilus-window-menus.c (original)
+++ trunk/src/nautilus-window-menus.c Fri Jan 23 20:26:23 2009
@@ -590,7 +590,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]