summaryrefslogtreecommitdiff
path: root/gobject/gobject.h
diff options
context:
space:
mode:
authorTim Janik <timj@gtk.org>2001-09-10 18:32:52 +0000
committerTim Janik <timj@src.gnome.org>2001-09-10 18:32:52 +0000
commit7ca6b00d0ef365525e9b6d915f9e3abdafb85a32 (patch)
treec2e02327c05cea0ce2b7a05225db7aff4a7f2fa3 /gobject/gobject.h
parentdc0b74d4167fc0eb5b30dbbfb0718726f0496b13 (diff)
removed extraneous GObject* returns from a couple functions that are very
Mon Sep 10 20:31:37 2001 Tim Janik <timj@gtk.org> * gobject.[hc]: removed extraneous GObject* returns from a couple functions that are very unlikely to be used in nested. changed gpointer->GObject* for a couple return values/arguments. this fixes #50206.
Diffstat (limited to 'gobject/gobject.h')
-rw-r--r--gobject/gobject.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gobject/gobject.h b/gobject/gobject.h
index 0b4dbc90c..84334d0f1 100644
--- a/gobject/gobject.h
+++ b/gobject/gobject.h
@@ -116,10 +116,10 @@ gpointer g_object_new (GType object_type,
gpointer g_object_newv (GType object_type,
guint n_parameters,
GParameter *parameters);
-gpointer g_object_new_valist (GType object_type,
+GObject* g_object_new_valist (GType object_type,
const gchar *first_property_name,
va_list var_args);
-gpointer g_object_set (gpointer object,
+void g_object_set (gpointer object,
const gchar *first_property_name,
...);
void g_object_get (gpointer object,
@@ -128,7 +128,7 @@ void g_object_get (gpointer object,
gpointer g_object_connect (gpointer object,
const gchar *signal_spec,
...);
-gpointer g_object_disconnect (gpointer object,
+void g_object_disconnect (gpointer object,
const gchar *signal_spec,
...);
void g_object_set_valist (GObject *object,
@@ -184,9 +184,9 @@ gpointer g_object_steal_data (GObject *object,
void g_object_watch_closure (GObject *object,
GClosure *closure);
GClosure* g_cclosure_new_object (GCallback callback_func,
- gpointer object);
+ GObject *object);
GClosure* g_cclosure_new_object_swap (GCallback callback_func,
- gpointer object);
+ GObject *object);
GClosure* g_closure_new_object (guint sizeof_closure,
GObject *object);
void g_value_set_object (GValue *value,