[gimp/soc-2011-seamless-clone2] app: remove the notify::use-gegl callback from GimpImageMapTool
- From: Clayton Walker <claytonw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/soc-2011-seamless-clone2] app: remove the notify::use-gegl callback from GimpImageMapTool
- Date: Wed, 8 May 2013 15:14:03 +0000 (UTC)
commit 708f500ca89d1261c3f0790686307a4669c19fd8
Author: Michael Natterer <mitch gimp org>
Date: Tue Apr 16 20:38:40 2013 +0200
app: remove the notify::use-gegl callback from GimpImageMapTool
app/tools/gimpimagemaptool.c | 26 --------------------------
1 files changed, 0 insertions(+), 26 deletions(-)
---
diff --git a/app/tools/gimpimagemaptool.c b/app/tools/gimpimagemaptool.c
index 64333c6..d368794 100644
--- a/app/tools/gimpimagemaptool.c
+++ b/app/tools/gimpimagemaptool.c
@@ -122,10 +122,6 @@ static void gimp_image_map_tool_response (GtkWidget *widget,
static void gimp_image_map_tool_dialog_hide (GimpImageMapTool *im_tool);
static void gimp_image_map_tool_dialog_destroy (GimpImageMapTool *im_tool);
-static void gimp_image_map_tool_gegl_notify (GObject *config,
- const GParamSpec *pspec,
- GimpImageMapTool *im_tool);
-
static GimpColorToolClass *parent_class = NULL;
@@ -411,11 +407,6 @@ gimp_image_map_tool_initialize (GimpTool *tool,
gimp_image_map_tool_dialog (image_map_tool);
gtk_widget_show (vbox);
-
- if (image_map_tool->operation)
- g_signal_connect_object (tool_info->gimp->config, "notify::use-gegl",
- G_CALLBACK (gimp_image_map_tool_gegl_notify),
- image_map_tool, 0);
}
else if (GIMP_IS_OVERLAY_DIALOG (image_map_tool->dialog) &&
! gtk_widget_get_parent (image_map_tool->dialog))
@@ -809,23 +800,6 @@ gimp_image_map_tool_preview (GimpImageMapTool *image_map_tool)
}
}
-static void
-gimp_image_map_tool_gegl_notify (GObject *config,
- const GParamSpec *pspec,
- GimpImageMapTool *im_tool)
-{
- if (im_tool->image_map)
- {
- gimp_tool_control_push_preserve (GIMP_TOOL (im_tool)->control, TRUE);
-
- gimp_image_map_tool_create_map (im_tool, NULL);
-
- gimp_tool_control_pop_preserve (GIMP_TOOL (im_tool)->control);
-
- gimp_image_map_tool_preview (im_tool);
- }
-}
-
void
gimp_image_map_tool_edit_as (GimpImageMapTool *im_tool,
const gchar *new_tool_id,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]