summaryrefslogtreecommitdiff
path: root/gobject/gtype.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2003-11-27 17:08:06 +0000
committerTim Janik <timj@src.gnome.org>2003-11-27 17:08:06 +0000
commit0642df0ab3a705ec61bdbc915e15e7d7c2f4ed05 (patch)
treeeadd50f45812c1857af1788e523e531476e19226 /gobject/gtype.h
parent6e3b71aec363e41035bbe7f7bda30a14a40c9662 (diff)
downloadglib-0642df0ab3a705ec61bdbc915e15e7d7c2f4ed05.tar.gz
variant of class_peek() which works for static types only.
Thu Nov 27 17:53:52 2003 Tim Janik <timj@gtk.org> * gtype.[hc]: (g_type_class_peek_static): variant of class_peek() which works for static types only. * gobject.c: (g_object_do_class_init): make ::notify a run-action signal. (g_object_newv): use g_type_class_peek_static() by default to speed up common code path (trades two write-locks for one read-lock). (g_object_disconnect): (g_object_connect): allow signal specification words to be seperated by '-'. (g_object_set_valist): (g_object_new_valist): don't leak values. (g_object_get_property): check property for readability. (g_object_set_property): check property for writability and to not be construct-only. (g_object_set_valist): check property to not be construct-only.
Diffstat (limited to 'gobject/gtype.h')
-rw-r--r--gobject/gtype.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gobject/gtype.h b/gobject/gtype.h
index 66a7872bf..d8536fc19 100644
--- a/gobject/gtype.h
+++ b/gobject/gtype.h
@@ -177,6 +177,7 @@ gboolean g_type_is_a (GType type,
GType is_a_type);
gpointer g_type_class_ref (GType type);
gpointer g_type_class_peek (GType type);
+gpointer g_type_class_peek_static (GType type);
void g_type_class_unref (gpointer g_class);
gpointer g_type_class_peek_parent (gpointer g_class);
gpointer g_type_interface_peek (gpointer instance_class,