gimp r27939 - in trunk: . app/widgets
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27939 - in trunk: . app/widgets
- Date: Sat, 24 Jan 2009 17:50:31 +0000 (UTC)
Author: mitch
Date: Sat Jan 24 17:50:31 2009
New Revision: 27939
URL: http://svn.gnome.org/viewvc/gimp?rev=27939&view=rev
Log:
2009-01-24 Michael Natterer <mitch gimp org>
Bug 568890 â don't rely on GtkAction implementation details
* app/widgets/gimpuimanager.c (gimp_ui_manager_menu_item_select):
use gtk_widget_get_action() instead of g_object_get_data(),
which relies on the name of the data key.
Modified:
trunk/ChangeLog
trunk/app/widgets/gimpuimanager.c
Modified: trunk/app/widgets/gimpuimanager.c
==============================================================================
--- trunk/app/widgets/gimpuimanager.c (original)
+++ trunk/app/widgets/gimpuimanager.c Sat Jan 24 17:50:31 2009
@@ -908,7 +908,7 @@
gimp_ui_manager_menu_item_select (GtkWidget *widget,
GimpUIManager *manager)
{
- GtkAction *action = g_object_get_data (G_OBJECT (widget), "gtk-action");
+ GtkAction *action = gtk_widget_get_action (widget);
if (action)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]