mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
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).
This commit is contained in:
parent
686e9b4645
commit
fbb5eebbad
@ -1,3 +1,9 @@
|
||||
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).
|
||||
|
||||
Mon May 14 01:49:01 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* gsignal.[hc] (g_signal_handler_is_connected): new function
|
||||
|
@ -1439,8 +1439,8 @@ g_value_object_lcopy_value (const GValue *value,
|
||||
}
|
||||
|
||||
void
|
||||
g_value_set_object (GValue *value,
|
||||
GObject *v_object)
|
||||
g_value_set_object (GValue *value,
|
||||
gpointer *v_object)
|
||||
{
|
||||
g_return_if_fail (G_VALUE_HOLDS_OBJECT (value));
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user