mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-10-05 13:19:21 +02:00
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)
This commit is contained in:
committed by
Matthias Clasen
parent
0631238743
commit
c83e52605f
@@ -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. */
|
||||
|
Reference in New Issue
Block a user