[Xfce4-commits] <xfce4-panel:devel> Fix typo in the DEFINE_TYPE macro.

Nick Schermer nick at xfce.org
Tue Aug 11 20:30:23 CEST 2009


Updating branch refs/heads/devel
         to 08b82f862785ded84c9f6a0a61d8ed8b24154e82 (commit)
       from 7ae69b05a7ff78a9282bd457bb446d28e0cb0ad3 (commit)

commit 08b82f862785ded84c9f6a0a61d8ed8b24154e82
Author: Nick Schermer <nick at xfce.org>
Date:   Sun Mar 15 15:44:18 2009 +0100

    Fix typo in the DEFINE_TYPE macro.

 libxfce4panel/libxfce4panel.h |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/libxfce4panel/libxfce4panel.h b/libxfce4panel/libxfce4panel.h
index f032b9c..8325593 100644
--- a/libxfce4panel/libxfce4panel.h
+++ b/libxfce4panel/libxfce4panel.h
@@ -78,8 +78,9 @@ G_BEGIN_DECLS
       NULL, \
     }; \
     \
-    g_type_module_register_type (type_module, TYPE_PARENT, \
-                                 #TypeName, &plugin_define_type_info, 0); \
+    plugin_define_type_id = \
+        g_type_module_register_type (type_module, TYPE_PARENT, \
+                                     #TypeName, &plugin_define_type_info, 0); \
     \
     type_name##_type = plugin_define_type_id; \
   }



More information about the Xfce4-commits mailing list