gimp r26001 - in trunk: . app/actions
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26001 - in trunk: . app/actions
- Date: Sat, 28 Jun 2008 11:50:29 +0000 (UTC)
Author: mitch
Date: Sat Jun 28 11:50:29 2008
New Revision: 26001
URL: http://svn.gnome.org/viewvc/gimp?rev=26001&view=rev
Log:
2008-06-28 Michael Natterer <mitch gimp org>
* app/actions/tools-commands.c (tools_activate_enum_action):
simply call gimp_enum_action_selected() instead of poking around
in the action's internals calling gimp_action_activate()
Modified:
trunk/ChangeLog
trunk/app/actions/tools-commands.c
Modified: trunk/app/actions/tools-commands.c
==============================================================================
--- trunk/app/actions/tools-commands.c (original)
+++ trunk/app/actions/tools-commands.c Sat Jun 28 11:50:29 2008
@@ -555,12 +555,7 @@
if (GIMP_IS_ENUM_ACTION (action) &&
GIMP_ENUM_ACTION (action)->value_variable)
{
- gint old_value;
-
- old_value = GIMP_ENUM_ACTION (action)->value;
- GIMP_ENUM_ACTION (action)->value = value;
- gtk_action_activate (action);
- GIMP_ENUM_ACTION (action)->value = old_value;
+ gimp_enum_action_selected (GIMP_ENUM_ACTION (action), value);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]