[gimp] app: some cleanup in the tool preset editor
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] app: some cleanup in the tool preset editor
- Date: Sun, 4 Apr 2010 13:02:12 +0000 (UTC)
commit c31ad026701a38ecdcd884789d8c9c51f38b4df5
Author: Michael Natterer <mitch gimp org>
Date: Sun Apr 4 15:01:32 2010 +0200
app: some cleanup in the tool preset editor
app/widgets/gimptoolpreseteditor.c | 19 +++++++++----------
app/widgets/gimptoolpreseteditor.h | 6 +++---
2 files changed, 12 insertions(+), 13 deletions(-)
---
diff --git a/app/widgets/gimptoolpreseteditor.c b/app/widgets/gimptoolpreseteditor.c
index 595f23a..c583027 100644
--- a/app/widgets/gimptoolpreseteditor.c
+++ b/app/widgets/gimptoolpreseteditor.c
@@ -1,7 +1,6 @@
/* GIMP - The GNU Image Manipulation Program
* Copyright (C) 1995 Spencer Kimball and Peter Mattis
*
- *
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
@@ -83,8 +82,8 @@ gimp_tool_preset_editor_init (GimpToolPresetEditor *editor)
static GObject *
gimp_tool_preset_editor_constructor (GType type,
- guint n_params,
- GObjectConstructParam *params)
+ guint n_params,
+ GObjectConstructParam *params)
{
GObject *object;
@@ -97,7 +96,7 @@ gimp_tool_preset_editor_constructor (GType type,
static void
gimp_tool_preset_editor_set_data (GimpDataEditor *editor,
- GimpData *data)
+ GimpData *data)
{
GimpToolPresetEditor *tool_preset_editor = GIMP_TOOL_PRESET_EDITOR (editor);
@@ -133,7 +132,7 @@ gimp_tool_preset_editor_set_data (GimpDataEditor *editor,
GtkWidget *
gimp_tool_preset_editor_new (GimpContext *context,
- GimpMenuFactory *menu_factory)
+ GimpMenuFactory *menu_factory)
{
g_return_val_if_fail (GIMP_IS_MENU_FACTORY (menu_factory), NULL);
g_return_val_if_fail (GIMP_IS_CONTEXT (context), NULL);
@@ -141,7 +140,7 @@ gimp_tool_preset_editor_new (GimpContext *context,
return g_object_new (GIMP_TYPE_TOOL_PRESET_EDITOR,
"menu-factory", menu_factory,
"menu-identifier", "<ToolPresetEditor>",
- "ui-path", "/tool_preset-editor-popup",
+ "ui-path", "/tool-preset-editor-popup",
"data-factory", context->gimp->tool_preset_factory,
"context", context,
"data", gimp_context_get_tool_preset (context),
@@ -153,8 +152,8 @@ gimp_tool_preset_editor_new (GimpContext *context,
static void
gimp_tool_preset_editor_notify_model (GimpToolPreset *options,
- const GParamSpec *pspec,
- GimpToolPresetEditor *editor)
+ const GParamSpec *pspec,
+ GimpToolPresetEditor *editor)
{
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (editor);
@@ -176,8 +175,8 @@ gimp_tool_preset_editor_notify_model (GimpToolPreset *options,
static void
gimp_tool_preset_editor_notify_data (GimpToolPreset *options,
- const GParamSpec *pspec,
- GimpToolPresetEditor *editor)
+ const GParamSpec *pspec,
+ GimpToolPresetEditor *editor)
{
GimpDataEditor *data_editor = GIMP_DATA_EDITOR (editor);
diff --git a/app/widgets/gimptoolpreseteditor.h b/app/widgets/gimptoolpreseteditor.h
index 70ae041..1cf8a28 100644
--- a/app/widgets/gimptoolpreseteditor.h
+++ b/app/widgets/gimptoolpreseteditor.h
@@ -36,7 +36,7 @@ struct _GimpToolPresetEditor
{
GimpDataEditor parent_instance;
- GimpToolPreset *tool_preset_model;
+ GimpToolPreset *tool_preset_model;
};
@@ -48,8 +48,8 @@ struct _GimpToolPresetEditorClass
GType gimp_tool_preset_editor_get_type (void) G_GNUC_CONST;
-GtkWidget * gimp_tool_preset_editor_new (GimpContext *context,
- GimpMenuFactory *menu_factory);
+GtkWidget * gimp_tool_preset_editor_new (GimpContext *context,
+ GimpMenuFactory *menu_factory);
#endif /* __GIMP_TOOL_PRESET_EDITOR_H__ */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]