[gimp/metadata-browser] app (tool-preset-editor): Delete dead code and variables
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] app (tool-preset-editor): Delete dead code and variables
- Date: Fri, 2 Dec 2011 02:06:04 +0000 (UTC)
commit 09d79f389295e7596dbcac4a14932cf0ae691bea
Author: Mukund Sivaraman <muks banu com>
Date: Tue Oct 4 14:37:36 2011 +0530
app (tool-preset-editor): Delete dead code and variables
app/actions/tool-preset-editor-actions.c | 12 +-----------
1 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/app/actions/tool-preset-editor-actions.c b/app/actions/tool-preset-editor-actions.c
index cad832c..4dc059a 100644
--- a/app/actions/tool-preset-editor-actions.c
+++ b/app/actions/tool-preset-editor-actions.c
@@ -69,21 +69,11 @@ tool_preset_editor_actions_setup (GimpActionGroup *group)
void
tool_preset_editor_actions_update (GimpActionGroup *group,
- gpointer user_data)
+ gpointer user_data)
{
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (user_data);
- GimpData *data;
- gboolean editable = FALSE;
gboolean edit_active = FALSE;
- data = data_editor->data;
-
- if (data)
- {
- if (data_editor->data_editable)
- editable = TRUE;
- }
-
edit_active = gimp_data_editor_get_edit_active (data_editor);
#define SET_SENSITIVE(action,condition) \
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]