Commit b6a3cd80 authored by Tim Janik's avatar Tim Janik Committed by Tim Janik

applied patch from Behdad with slight optimization, fixes #356175.

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.
parent b3a8c328
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
......
......@@ -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__ */
......@@ -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); \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment