mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-01 23:13:40 +02:00
removed archaic gpointer derived_data; relict and added a GData member
Wed Mar 14 18:46:54 2001 Tim Janik <timj@gtk.org> * gscanner.[hc]: removed archaic gpointer derived_data; relict and added a GData member instead. * glist.[hc]: added g_list_remove_all(). * gslist.[hc]: added g_slist_remove_all(). Sat Mar 17 23:18:36 2001 Tim Janik <timj@gtk.org> * gobject.c (g_object_get_property): minor bug-fix. * gbsearcharray.[hc]: provide a macro for static initialization and functions g_bsearch_array_new() and g_bsearch_array_destroy() for dynamic allocations. * gboxed.c: introduce G_TYPE_GSTRING, boxed type for GString. * gclosure.[hc]: naming corrections. Fri Mar 9 16:42:08 2001 Tim Janik <timj@gtk.org> * gvaluetypes.[hc]: moved g_strdup_value_contents() into this file as a public function (was static in gobject.c before). it's a bit odd to have that function here, especially since it requires extra includes, but then it doesn't very well fit somewhere else either. * gparamspecs.c: added default/max/min checks to param spec creation functions.
This commit is contained in:
@@ -221,9 +221,9 @@ g_closure_add_marshal_guards (GClosure *closure,
|
||||
}
|
||||
|
||||
void
|
||||
g_closure_add_fnotify (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
g_closure_add_finalize_notifier (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
{
|
||||
guint i;
|
||||
|
||||
@@ -243,9 +243,9 @@ g_closure_add_fnotify (GClosure *closure,
|
||||
}
|
||||
|
||||
void
|
||||
g_closure_add_inotify (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
g_closure_add_invalidate_notifier (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
{
|
||||
guint i;
|
||||
|
||||
@@ -371,9 +371,9 @@ g_closure_sink (GClosure *closure)
|
||||
}
|
||||
|
||||
void
|
||||
g_closure_remove_inotify (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
g_closure_remove_invalidate_notifier (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
{
|
||||
g_return_if_fail (closure != NULL);
|
||||
g_return_if_fail (notify_func != NULL);
|
||||
@@ -387,9 +387,9 @@ g_closure_remove_inotify (GClosure *closure,
|
||||
}
|
||||
|
||||
void
|
||||
g_closure_remove_fnotify (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
g_closure_remove_finalize_notifier (GClosure *closure,
|
||||
gpointer notify_data,
|
||||
GClosureNotify notify_func)
|
||||
{
|
||||
g_return_if_fail (closure != NULL);
|
||||
g_return_if_fail (notify_func != NULL);
|
||||
@@ -469,7 +469,7 @@ g_cclosure_new (GCallback callback_func,
|
||||
|
||||
closure = g_closure_new_simple (sizeof (GCClosure), user_data);
|
||||
if (destroy_data)
|
||||
g_closure_add_fnotify (closure, user_data, destroy_data);
|
||||
g_closure_add_finalize_notifier (closure, user_data, destroy_data);
|
||||
((GCClosure*) closure)->callback = callback_func;
|
||||
|
||||
return closure;
|
||||
@@ -486,7 +486,7 @@ g_cclosure_new_swap (GCallback callback_func,
|
||||
|
||||
closure = g_closure_new_simple (sizeof (GCClosure), user_data);
|
||||
if (destroy_data)
|
||||
g_closure_add_fnotify (closure, user_data, destroy_data);
|
||||
g_closure_add_finalize_notifier (closure, user_data, destroy_data);
|
||||
((GCClosure*) closure)->callback = callback_func;
|
||||
closure->derivative_flag = TRUE;
|
||||
|
||||
|
Reference in New Issue
Block a user