diff options
author | Tim Janik <timj@gtk.org> | 2001-05-22 00:48:06 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 2001-05-22 00:48:06 +0000 |
commit | fbb5eebbad2dbd1d9eee662451098b0dece9b013 (patch) | |
tree | 8aefcfb24126c0dd9066f146e0c88104d0b66528 /gobject/gobject.h | |
parent | 686e9b464515d7aec4d35a2dbf1a1751b8c48841 (diff) |
make g_value_set_object() take a gpointer v_object so people don't need to
Tue May 22 02:46:13 2001 Tim Janik <timj@gtk.org>
* gobject.c (g_value_set_object): make g_value_set_object()
take a gpointer v_object so people don't need to G_OBJECT()
cast NULL pointers (C code convenience).
Diffstat (limited to 'gobject/gobject.h')
-rw-r--r-- | gobject/gobject.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gobject/gobject.h b/gobject/gobject.h index 6ebff6289..849ae8348 100644 --- a/gobject/gobject.h +++ b/gobject/gobject.h @@ -177,7 +177,7 @@ GClosure* g_cclosure_new_object_swap (GCallback callback_func, GClosure* g_closure_new_object (guint sizeof_closure, GObject *object); void g_value_set_object (GValue *value, - GObject *v_object); + gpointer *v_object); gpointer g_value_get_object (const GValue *value); GObject* g_value_dup_object (const GValue *value); guint g_signal_connect_object (gpointer instance, |