gimp r27036 - trunk/app/actions
- From: neo svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27036 - trunk/app/actions
- Date: Tue, 23 Sep 2008 07:15:37 +0000 (UTC)
Author: neo
Date: Tue Sep 23 07:15:37 2008
New Revision: 27036
URL: http://svn.gnome.org/viewvc/gimp?rev=27036&view=rev
Log:
simplified
Modified:
trunk/app/actions/config-actions.c
Modified: trunk/app/actions/config-actions.c
==============================================================================
--- trunk/app/actions/config-actions.c (original)
+++ trunk/app/actions/config-actions.c Tue Sep 23 07:15:37 2008
@@ -22,8 +22,6 @@
#include "actions-types.h"
-#include "config/gimpcoreconfig.h"
-
#include "core/gimp.h"
#include "widgets/gimpactiongroup.h"
@@ -67,6 +65,8 @@
config_toggle_actions,
G_N_ELEMENTS (config_toggle_actions));
+ config_actions_use_gegl_notify (G_OBJECT (group->gimp->config), NULL, group);
+
g_signal_connect_object (group->gimp->config,
"notify::use-gegl",
G_CALLBACK (config_actions_use_gegl_notify),
@@ -77,8 +77,4 @@
config_actions_update (GimpActionGroup *group,
gpointer data)
{
-#define SET_ACTIVE(action,condition) \
- gimp_action_group_set_action_active (group, action, (condition) != 0)
-
- SET_ACTIVE ("config-use-gegl", group->gimp->config->use_gegl);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]