summaryrefslogtreecommitdiff
path: root/glib/gasyncqueue.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2004-11-08 18:26:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-11-08 18:26:56 +0000
commitc83e52605f373aeae29f02361d51af3799e6dae2 (patch)
treecb1f83317eac995f7e245e16c4fc65394e1a2a15 /glib/gasyncqueue.h
parent0631238743d968a39798ebc2f32eb1418ff697c6 (diff)
downloadglib-c83e52605f373aeae29f02361d51af3799e6dae2.tar.gz
Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(),
2004-11-08 Matthias Clasen <mclasen@redhat.com> * glib/gasyncqueue.[hc]: * glib/ghook.[hc]: * glib/gmain.[hc]: * glib/giochannel.[hc]: Make g_io_channel_ref(), g_main_context_ref(), g_hook_ref(), g_async_queue_ref() return the passed in pointer. (#151663, Manish Singh)
Diffstat (limited to 'glib/gasyncqueue.h')
-rw-r--r--glib/gasyncqueue.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/gasyncqueue.h b/glib/gasyncqueue.h
index 80044e0bc..e26add9b7 100644
--- a/glib/gasyncqueue.h
+++ b/glib/gasyncqueue.h
@@ -47,7 +47,7 @@ void g_async_queue_lock (GAsyncQueue *queue);
void g_async_queue_unlock (GAsyncQueue *queue);
/* Ref and unref the GAsyncQueue. */
-void g_async_queue_ref (GAsyncQueue *queue);
+GAsyncQueue* g_async_queue_ref (GAsyncQueue *queue);
void g_async_queue_unref (GAsyncQueue *queue);
#ifndef G_DISABLE_DEPRECATED
/* You don't have to hold the lock for calling *_ref and *_unref anymore. */