+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
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
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