gegl r1957 - in trunk: . gegl gegl/module operations/affine
- From: ok svn gnome org
- To: svn-commits-list gnome org
- Subject: gegl r1957 - in trunk: . gegl gegl/module operations/affine
- Date: Tue, 5 Feb 2008 00:02:42 +0000 (GMT)
Author: ok
Date: Tue Feb 5 00:02:42 2008
New Revision: 1957
URL: http://svn.gnome.org/viewvc/gegl?rev=1957&view=rev
Log:
* gegl/gegl-plugin.h: bumped the GEGL_MODULE_ABI_VERSION to 0x0006 and
ripped out all the strings from the GeglModuleInfo struct.
* gegl/gegl-chant.h:
* gegl/gegl-old-chant.h:
* gegl/module/geglmodule.c:
* gegl/module/geglmodule.h:
* operations/affine/module.c:
Modified:
trunk/ChangeLog
trunk/gegl/gegl-chant.h
trunk/gegl/gegl-old-chant.h
trunk/gegl/gegl-plugin.h
trunk/gegl/module/geglmodule.c
trunk/gegl/module/geglmodule.h
trunk/operations/affine/module.c
Modified: trunk/gegl/gegl-chant.h
==============================================================================
--- trunk/gegl/gegl-chant.h (original)
+++ trunk/gegl/gegl-chant.h Tue Feb 5 00:02:42 2008
@@ -248,7 +248,7 @@
static const GeglModuleInfo modinfo =
{
- GEGL_MODULE_ABI_VERSION, GEGL_CHANT_C_FILE, "v0.0", "foo and bar"
+ GEGL_MODULE_ABI_VERSION
};
G_MODULE_EXPORT const GeglModuleInfo *
Modified: trunk/gegl/gegl-old-chant.h
==============================================================================
--- trunk/gegl/gegl-old-chant.h (original)
+++ trunk/gegl/gegl-old-chant.h Tue Feb 5 00:02:42 2008
@@ -178,10 +178,6 @@
static const GeglModuleInfo modinfo =\
{\
GEGL_MODULE_ABI_VERSION,\
- #type_name,\
- "v0.0",\
- "(c) 2006, released under the LGPL",\
- "June 2006"\
};\
\
G_MODULE_EXPORT const GeglModuleInfo *\
Modified: trunk/gegl/gegl-plugin.h
==============================================================================
--- trunk/gegl/gegl-plugin.h (original)
+++ trunk/gegl/gegl-plugin.h Tue Feb 5 00:02:42 2008
@@ -53,16 +53,11 @@
* should be extended so a range of abi versions are accepted.
*/
-#define GEGL_MODULE_ABI_VERSION 0x0005
+#define GEGL_MODULE_ABI_VERSION 0x0006
struct _GeglModuleInfo
{
guint32 abi_version;
- gchar *purpose;
- gchar *author;
- gchar *version;
- gchar *copyright;
- gchar *date;
};
GType
Modified: trunk/gegl/module/geglmodule.c
==============================================================================
--- trunk/gegl/module/geglmodule.c (original)
+++ trunk/gegl/module/geglmodule.c Tue Feb 5 00:02:42 2008
@@ -443,21 +443,11 @@
* Return value: The new #GeglModuleInfo struct.
**/
GeglModuleInfo *
-gegl_module_info_new (guint32 abi_version,
- const gchar *purpose,
- const gchar *author,
- const gchar *version,
- const gchar *copyright,
- const gchar *date)
+gegl_module_info_new (guint32 abi_version)
{
GeglModuleInfo *info = g_slice_new0 (GeglModuleInfo);
info->abi_version = abi_version;
- info->purpose = g_strdup (purpose);
- info->author = g_strdup (author);
- info->version = g_strdup (version);
- info->copyright = g_strdup (copyright);
- info->date = g_strdup (date);
return info;
}
@@ -475,12 +465,7 @@
{
g_return_val_if_fail (info != NULL, NULL);
- return gegl_module_info_new (info->abi_version,
- info->purpose,
- info->author,
- info->version,
- info->copyright,
- info->date);
+ return gegl_module_info_new (info->abi_version);
}
/**
@@ -494,12 +479,6 @@
{
g_return_if_fail (info != NULL);
- g_free (info->purpose);
- g_free (info->author);
- g_free (info->version);
- g_free (info->copyright);
- g_free (info->date);
-
g_slice_free (GeglModuleInfo, info);
}
Modified: trunk/gegl/module/geglmodule.h
==============================================================================
--- trunk/gegl/module/geglmodule.h (original)
+++ trunk/gegl/module/geglmodule.h Tue Feb 5 00:02:42 2008
@@ -109,12 +109,7 @@
/* GeglModuleInfo functions */
-GeglModuleInfo * gegl_module_info_new (guint32 abi_version,
- const gchar *purpose,
- const gchar *author,
- const gchar *version,
- const gchar *copyright,
- const gchar *date);
+GeglModuleInfo * gegl_module_info_new (guint32 abi_version);
GeglModuleInfo * gegl_module_info_copy (const GeglModuleInfo *info);
void gegl_module_info_free (GeglModuleInfo *info);
Modified: trunk/operations/affine/module.c
==============================================================================
--- trunk/operations/affine/module.c (original)
+++ trunk/operations/affine/module.c Tue Feb 5 00:02:42 2008
@@ -23,11 +23,7 @@
static GTypeModule *affine_module;
static const GeglModuleInfo modinfo =
{
- GEGL_MODULE_ABI_VERSION,
- "affine",
- "v0.0",
- "(c) 2006, released under the LGPL",
- "July 2006"
+ GEGL_MODULE_ABI_VERSION
};
G_MODULE_EXPORT GTypeModule *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]