gimp r25499 - in trunk: . app/core
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r25499 - in trunk: . app/core
- Date: Sat, 19 Apr 2008 15:48:50 +0100 (BST)
Author: mitch
Date: Sat Apr 19 14:48:50 2008
New Revision: 25499
URL: http://svn.gnome.org/viewvc/gimp?rev=25499&view=rev
Log:
2008-04-19 Michael Natterer <mitch gimp org>
* app/core/gimpdata.c: prototype indentation and minor declatation
and function reordering for the sake of consistency.
Modified:
trunk/ChangeLog
trunk/app/core/gimpdata.c
Modified: trunk/app/core/gimpdata.c
==============================================================================
--- trunk/app/core/gimpdata.c (original)
+++ trunk/app/core/gimpdata.c Sat Apr 19 14:48:50 2008
@@ -63,35 +63,36 @@
};
-static void gimp_data_class_init (GimpDataClass *klass);
-static void gimp_data_tagged_iface_init (GimpTaggedInterface *iface);
+static void gimp_data_class_init (GimpDataClass *klass);
+static void gimp_data_tagged_iface_init (GimpTaggedInterface *iface);
-static GObject * gimp_data_constructor (GType type,
- guint n_params,
- GObjectConstructParam *params);
-
-static void gimp_data_init (GimpData *data,
- GimpDataClass *data_class);
-static void gimp_data_finalize (GObject *object);
-static void gimp_data_set_property (GObject *object,
- guint property_id,
- const GValue *value,
- GParamSpec *pspec);
-static void gimp_data_get_property (GObject *object,
- guint property_id,
- GValue *value,
- GParamSpec *pspec);
-
-static gint64 gimp_data_get_memsize (GimpObject *object,
- gint64 *gui_size);
-
-static void gimp_data_real_dirty (GimpData *data);
-
-static gboolean gimp_data_add_tag (GimpTagged *tagged,
- GimpTag tag);
-static gboolean gimp_data_remove_tag (GimpTagged *tagged,
- GimpTag tag);
-static GList * gimp_data_get_tags (GimpTagged *tagged);
+static void gimp_data_init (GimpData *data,
+ GimpDataClass *data_class);
+
+static GObject * gimp_data_constructor (GType type,
+ guint n_params,
+ GObjectConstructParam *params);
+
+static void gimp_data_finalize (GObject *object);
+static void gimp_data_set_property (GObject *object,
+ guint property_id,
+ const GValue *value,
+ GParamSpec *pspec);
+static void gimp_data_get_property (GObject *object,
+ guint property_id,
+ GValue *value,
+ GParamSpec *pspec);
+
+static gint64 gimp_data_get_memsize (GimpObject *object,
+ gint64 *gui_size);
+
+static void gimp_data_real_dirty (GimpData *data);
+
+static gboolean gimp_data_add_tag (GimpTagged *tagged,
+ GimpTag tag);
+static gboolean gimp_data_remove_tag (GimpTagged *tagged,
+ GimpTag tag);
+static GList * gimp_data_get_tags (GimpTagged *tagged);
static guint data_signals[LAST_SIGNAL] = { 0 };
@@ -131,7 +132,7 @@
&data_info, 0);
g_type_add_interface_static (data_type, GIMP_TYPE_TAGGED, &tagged_info);
- }
+ }
return data_type;
}
@@ -219,6 +220,20 @@
gimp_data_freeze (data);
}
+static GObject *
+gimp_data_constructor (GType type,
+ guint n_params,
+ GObjectConstructParam *params)
+{
+ GObject *object;
+
+ object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params);
+
+ gimp_data_thaw (GIMP_DATA (object));
+
+ return object;
+}
+
static void
gimp_data_finalize (GObject *object)
{
@@ -309,20 +324,6 @@
}
}
-static GObject *
-gimp_data_constructor (GType type,
- guint n_params,
- GObjectConstructParam *params)
-{
- GObject *object;
-
- object = G_OBJECT_CLASS (parent_class)->constructor (type, n_params, params);
-
- gimp_data_thaw (GIMP_DATA (object));
-
- return object;
-}
-
static gint64
gimp_data_get_memsize (GimpObject *object,
gint64 *gui_size)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]