[gimp] app: remove all use-gegl config stuff
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: remove all use-gegl config stuff
- Date: Fri, 18 May 2012 22:51:25 +0000 (UTC)
commit 01c92a7c4ec82e89cc5416a99e57cb6b5a155eef
Author: Michael Natterer <mitch gimp org>
Date: Sat May 19 00:50:53 2012 +0200
app: remove all use-gegl config stuff
app/actions/Makefile.am | 4 --
app/actions/actions.c | 4 --
app/actions/config-actions.c | 79 -----------------------------------------
app/actions/config-actions.h | 27 --------------
app/actions/config-commands.c | 43 ----------------------
app/actions/config-commands.h | 26 -------------
app/config/gimpcoreconfig.c | 15 --------
app/config/gimpcoreconfig.h | 1 -
app/core/gimp.c | 8 ----
app/core/gimp.h | 2 -
app/menus/menus.c | 3 --
menus/image-menu.xml.in | 2 -
po/POTFILES.in | 1 -
13 files changed, 0 insertions(+), 215 deletions(-)
---
diff --git a/app/actions/Makefile.am b/app/actions/Makefile.am
index 3d0b6c6..cd6dcf7 100644
--- a/app/actions/Makefile.am
+++ b/app/actions/Makefile.am
@@ -35,10 +35,6 @@ libappactions_a_SOURCES = \
colormap-actions.h \
colormap-commands.c \
colormap-commands.h \
- config-actions.c \
- config-actions.h \
- config-commands.c \
- config-commands.h \
context-actions.c \
context-actions.h \
context-commands.c \
diff --git a/app/actions/actions.c b/app/actions/actions.c
index 36bd0b9..b9b87cb 100644
--- a/app/actions/actions.c
+++ b/app/actions/actions.c
@@ -55,7 +55,6 @@
#include "buffers-actions.h"
#include "channels-actions.h"
#include "colormap-actions.h"
-#include "config-actions.h"
#include "context-actions.h"
#include "cursor-info-actions.h"
#include "debug-actions.h"
@@ -122,9 +121,6 @@ static const GimpActionFactoryEntry action_groups[] =
{ "colormap", N_("Colormap"), GIMP_STOCK_COLORMAP,
colormap_actions_setup,
colormap_actions_update },
- { "config", N_("Configuration"), GTK_STOCK_PREFERENCES,
- config_actions_setup,
- config_actions_update },
{ "context", N_("Context"), GIMP_STOCK_TOOL_OPTIONS /* well... */,
context_actions_setup,
context_actions_update },
diff --git a/app/config/gimpcoreconfig.c b/app/config/gimpcoreconfig.c
index dbc347b..394bab1 100644
--- a/app/config/gimpcoreconfig.c
+++ b/app/config/gimpcoreconfig.c
@@ -103,7 +103,6 @@ enum
PROP_COLOR_PROFILE_POLICY,
PROP_SAVE_DOCUMENT_HISTORY,
PROP_QUICK_MASK_COLOR,
- PROP_USE_GEGL,
/* ignored, only for backward compatibility: */
PROP_INSTALL_COLORMAP,
@@ -450,14 +449,6 @@ gimp_core_config_class_init (GimpCoreConfigClass *klass)
TRUE, &red,
GIMP_PARAM_STATIC_STRINGS);
- /* not serialized */
- g_object_class_install_property (object_class, PROP_USE_GEGL,
- g_param_spec_boolean ("use-gegl",
- "Use GEGL", NULL,
- TRUE,
- GIMP_PARAM_READWRITE |
- G_PARAM_CONSTRUCT));
-
/* only for backward compatibility: */
GIMP_CONFIG_INSTALL_PROP_BOOLEAN (object_class, PROP_INSTALL_COLORMAP,
"install-colormap", NULL,
@@ -730,9 +721,6 @@ gimp_core_config_set_property (GObject *object,
case PROP_QUICK_MASK_COLOR:
gimp_value_get_rgb (value, &core_config->quick_mask_color);
break;
- case PROP_USE_GEGL:
- core_config->use_gegl = g_value_get_boolean (value);
- break;
case PROP_INSTALL_COLORMAP:
case PROP_MIN_COLORS:
@@ -902,9 +890,6 @@ gimp_core_config_get_property (GObject *object,
case PROP_QUICK_MASK_COLOR:
gimp_value_set_rgb (value, &core_config->quick_mask_color);
break;
- case PROP_USE_GEGL:
- g_value_set_boolean (value, core_config->use_gegl);
- break;
case PROP_INSTALL_COLORMAP:
case PROP_MIN_COLORS:
diff --git a/app/config/gimpcoreconfig.h b/app/config/gimpcoreconfig.h
index 3ffeacb..11b9534 100644
--- a/app/config/gimpcoreconfig.h
+++ b/app/config/gimpcoreconfig.h
@@ -88,7 +88,6 @@ struct _GimpCoreConfig
GimpColorProfilePolicy color_profile_policy;
gboolean save_document_history;
GimpRGB quick_mask_color;
- gboolean use_gegl;
};
struct _GimpCoreConfigClass
diff --git a/app/core/gimp.c b/app/core/gimp.c
index 9df1c59..de04ad8 100644
--- a/app/core/gimp.c
+++ b/app/core/gimp.c
@@ -1324,11 +1324,3 @@ gimp_get_temp_filename (Gimp *gimp,
return filename;
}
-
-gboolean
-gimp_use_gegl (Gimp *gimp)
-{
- g_return_val_if_fail (GIMP_IS_GIMP (gimp), FALSE);
-
- return gimp->config->use_gegl;
-}
diff --git a/app/core/gimp.h b/app/core/gimp.h
index e6b3a56..8f4f7ca 100644
--- a/app/core/gimp.h
+++ b/app/core/gimp.h
@@ -216,7 +216,5 @@ void gimp_image_opened (Gimp *gimp,
gchar * gimp_get_temp_filename (Gimp *gimp,
const gchar *extension);
-gboolean gimp_use_gegl (Gimp *gimp);
-
#endif /* __GIMP_H__ */
diff --git a/app/menus/menus.c b/app/menus/menus.c
index 10230fc..3d58dac 100644
--- a/app/menus/menus.c
+++ b/app/menus/menus.c
@@ -93,7 +93,6 @@ menus_init (Gimp *gimp,
gimp_menu_factory_manager_register (global_menu_factory, "<Image>",
"file",
- "config",
"context",
"debug",
"help",
@@ -122,7 +121,6 @@ menus_init (Gimp *gimp,
gimp_menu_factory_manager_register (global_menu_factory, "<Toolbox>",
"file",
- "config",
"context",
"help",
"edit",
@@ -143,7 +141,6 @@ menus_init (Gimp *gimp,
gimp_menu_factory_manager_register (global_menu_factory, "<Dock>",
"file",
- "config",
"context",
"edit",
"select",
diff --git a/menus/image-menu.xml.in b/menus/image-menu.xml.in
index 8f6c995..8d869d2 100644
--- a/menus/image-menu.xml.in
+++ b/menus/image-menu.xml.in
@@ -512,8 +512,6 @@
<menuitem action="drawable-value-invert" />
</placeholder>
<separator />
- <menuitem action="config-use-gegl" />
- <separator />
<menu action="colors-auto-menu" name="Auto">
<menuitem action="drawable-equalize" />
<menuitem action="drawable-levels-stretch" />
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 1bccac3..2335269 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -21,7 +21,6 @@ app/actions/channels-actions.c
app/actions/channels-commands.c
app/actions/colormap-actions.c
app/actions/colormap-commands.c
-app/actions/config-actions.c
app/actions/context-actions.c
app/actions/context-commands.c
app/actions/cursor-info-actions.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]