Home
last modified time | relevance | path

Searched refs:sink_funcs (Results 1 – 3 of 3) sorted by relevance

/dports/x11-toolkits/guile-gnome-platform/guile-gnome-platform-2.16.5/glib/gnome/gobject/
H A Dgtype.c92 static GArray *sink_funcs = NULL; variable
453 if (sink_funcs) { in sink_type_instance()
456 for (i = 0; i < sink_funcs->len; i++) { in sink_type_instance()
458 g_array_index (sink_funcs, SinkFunc, i).type)) { in sink_type_instance()
459 g_array_index (sink_funcs, SinkFunc, i).sinkfunc (instance); in sink_type_instance()
488 if (!sink_funcs) in scm_register_gtype_instance_sinkfunc()
489 sink_funcs = g_array_new (FALSE, FALSE, sizeof(SinkFunc)); in scm_register_gtype_instance_sinkfunc()
493 g_array_append_val (sink_funcs, sf); in scm_register_gtype_instance_sinkfunc()
/dports/devel/p5-Glib/Glib-1.3293/
H A DGObject.xs96 G_LOCK_DEFINE_STATIC (sink_funcs);
553 G_LOCK (sink_funcs); in gperl_object_take_ownership()
555 if (sink_funcs) { in gperl_object_take_ownership()
557 for (i = 0 ; i < sink_funcs->len ; i++) in gperl_object_take_ownership()
559 g_array_index (sink_funcs, in gperl_object_take_ownership()
561 g_array_index (sink_funcs, in gperl_object_take_ownership()
563 G_UNLOCK (sink_funcs); in gperl_object_take_ownership()
568 G_UNLOCK (sink_funcs); in gperl_object_take_ownership()
/dports/devel/pyl-gobject/pygobject-2.28.6/gobject/
H A Dpygobject.c121 static GArray *sink_funcs = NULL; variable
145 if (sink_funcs) { in pygobject_sink()
148 for (i = 0; i < sink_funcs->len; i++) { in pygobject_sink()
150 g_array_index(sink_funcs, SinkFunc, i).type)) { in pygobject_sink()
151 g_array_index(sink_funcs, SinkFunc, i).sinkfunc(obj); in pygobject_sink()
193 if (!sink_funcs) in pygobject_register_sinkfunc()
194 sink_funcs = g_array_new(FALSE, FALSE, sizeof(SinkFunc)); in pygobject_register_sinkfunc()
198 g_array_append_val(sink_funcs, sf); in pygobject_register_sinkfunc()