mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
Make types of ternary operator correspond. (Fixes compilation errors with
Thu May 3 06:10:23 2001 Owen Taylor <otaylor@redhat.com> * gobject.c (g_object_set_[q]data_full): Make types of ternary operator correspond. (Fixes compilation errors with Sun CC, #52230)
This commit is contained in:
parent
d4e0ae748a
commit
39f526ef20
@ -1,3 +1,9 @@
|
||||
Thu May 3 06:10:23 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gobject.c (g_object_set_[q]data_full): Make types of ternary
|
||||
operator correspond. (Fixes compilation errors with Sun CC,
|
||||
#52230)
|
||||
|
||||
Mon Apr 30 20:03:56 2001 Tim Janik <timj@gtk.org>
|
||||
|
||||
* glib-mkenums (usage): removed \v escaping, newer perl versions don't
|
||||
|
@ -1281,7 +1281,8 @@ g_object_set_qdata_full (GObject *object,
|
||||
g_return_if_fail (G_IS_OBJECT (object));
|
||||
g_return_if_fail (quark > 0);
|
||||
|
||||
g_datalist_id_set_data_full (&object->qdata, quark, data, data ? destroy : NULL);
|
||||
g_datalist_id_set_data_full (&object->qdata, quark, data,
|
||||
data ? destroy : (GDestroyNotify) NULL);
|
||||
}
|
||||
|
||||
gpointer
|
||||
@ -1328,7 +1329,8 @@ g_object_set_data_full (GObject *object,
|
||||
g_return_if_fail (G_IS_OBJECT (object));
|
||||
g_return_if_fail (key != NULL);
|
||||
|
||||
g_datalist_id_set_data_full (&object->qdata, g_quark_from_string (key), data, data ? destroy : NULL);
|
||||
g_datalist_id_set_data_full (&object->qdata, g_quark_from_string (key), data,
|
||||
data ? destroy : (GDestroyNotify) NULL);
|
||||
}
|
||||
|
||||
gpointer
|
||||
|
Loading…
Reference in New Issue
Block a user