applied patch from Behdad with slight optimization, fixes #356175.
authorTim Janik <timj@imendio.com>
Fri, 22 Sep 2006 12:06:28 +0000 (12:06 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 22 Sep 2006 12:06:28 +0000 (12:06 +0000)
Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>

        * gtype.h: applied patch from Behdad with slight optimization,
        fixes #356175.

        * gobjectnotifyqueue.c: fixed include-guard macro name.

gobject/ChangeLog
gobject/gobjectnotifyqueue.c
gobject/gtype.h

index 0db43e9..f2f268a 100644 (file)
@@ -1,3 +1,10 @@
+Fri Sep 22 13:41:02 2006  Tim Janik  <timj@imendio.com>
+
+       * gtype.h: applied patch from Behdad with slight optimization, 
+       fixes #356175.
+
+       * gobjectnotifyqueue.c: fixed include-guard macro name.
+
 Mon Sep 11 12:12:45 2006  Tim Janik  <timj@imendio.com>
 
        * gparam.c (g_param_spec_sink): reimplemented floating flag handling by
index 65c8e95..60c1c28 100644 (file)
@@ -16,8 +16,8 @@
  * Free Software Foundation, Inc., 59 Temple Place, Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#ifndef __G_NOTIFY_H__
-#define __G_NOTIFY_H__
+#ifndef __G_OBJECT_NOTIFY_QUEUE_H__
+#define __G_OBJECT_NOTIFY_QUEUE_H__
 
 #include        <string.h> /* memset */
 #include        <glib-object.h>
@@ -166,4 +166,4 @@ g_object_notify_queue_from_object (GObject              *object,
 
 G_END_DECLS
 
-#endif /* __G_NOTIFY_H__ */
+#endif /* __G_OBJECT_NOTIFY_QUEUE_H__ */
index 555c4d9..1a86643 100644 (file)
@@ -348,7 +348,7 @@ gpointer g_type_instance_get_private    (GTypeInstance              *instance,
  *                                                 gtk_tree_store_tree_model_init));
  */
 #define G_IMPLEMENT_INTERFACE(TYPE_IFACE, iface_init)       { \
-  static const GInterfaceInfo g_implement_interface_info = { \
+  const GInterfaceInfo g_implement_interface_info = { \
     (GInterfaceInitFunc) iface_init, NULL, NULL \
   }; \
   g_type_add_interface_static (g_define_type_id, TYPE_IFACE, &g_implement_interface_info); \