[gimp] app: fix crash in GEGL tool when an operation specific tool was used before
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: fix crash in GEGL tool when an operation specific tool was used before
- Date: Sat, 9 Mar 2013 19:18:37 +0000 (UTC)
commit 69c897a1187f68e74614e6e5eca11464debcd2ba
Author: Michael Natterer <mitch gimp org>
Date: Sat Mar 9 20:16:24 2013 +0100
app: fix crash in GEGL tool when an operation specific tool was used before
gimp_image_map_tool_initialize(): add the saved settings combo only if
we have a config object.
app/tools/gimpimagemaptool.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/app/tools/gimpimagemaptool.c b/app/tools/gimpimagemaptool.c
index 975f654..c14c52a 100644
--- a/app/tools/gimpimagemaptool.c
+++ b/app/tools/gimpimagemaptool.c
@@ -368,7 +368,7 @@ gimp_image_map_tool_initialize (GimpTool *tool,
G_CALLBACK (gimp_image_map_tool_response),
G_OBJECT (image_map_tool), 0);
- if (klass->settings_name)
+ if (image_map_tool->config && klass->settings_name)
{
GtkWidget *settings_ui;
gchar *settings_filename;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]