Revision: 1787 http://geany.svn.sourceforge.net/geany/?rev=1787&view=rev Author: eht16 Date: 2007-08-12 02:20:52 -0700 (Sun, 12 Aug 2007)
Log Message: ----------- Fix a runtime warning.
Modified Paths: -------------- trunk/ChangeLog trunk/src/geanyobject.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2007-08-12 08:47:01 UTC (rev 1786) +++ trunk/ChangeLog 2007-08-12 09:20:52 UTC (rev 1787) @@ -1,7 +1,8 @@ 2007-08-12 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
- * data/filetypes.freebasic: Add many keywords + * data/filetypes.freebasic: Add many keywordsGeanyObjectPrivate (patch by Arthur Skowronek, thanks). + * geanyobject.c: Fix a runtime warning.
2007-08-10 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/geanyobject.c =================================================================== --- trunk/src/geanyobject.c 2007-08-12 08:47:01 UTC (rev 1786) +++ trunk/src/geanyobject.c 2007-08-12 09:20:52 UTC (rev 1787) @@ -35,7 +35,7 @@ static guint geany_object_signals[GCB_MAX] = { 0 };
-typedef struct _GeanyObjectPrivate GeanyObjectPrivate; +typedef struct _GeanyObjectPrivate GeanyObjectPrivate;
#define GEANY_OBJECT_GET_PRIVATE(obj) (G_TYPE_INSTANCE_GET_PRIVATE((obj),\ GEANY_OBJECT_TYPE, GeanyObjectPrivate)) @@ -43,6 +43,7 @@ struct _GeanyObjectPrivate { /* add your private declarations here */ + gchar dummy; // to avoid warnings (g_type_class_add_private: assertion `private_size > 0' failed) };
static void geany_object_class_init (GeanyObjectClass *klass);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.