mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 20:35:49 +01:00
removed wrap_g_io_channel_ref() hack, since g_io_channel_ref() has a
Mon Nov 8 10:47:41 2004 Manish Singh <yosh@gimp.org> * gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack, since g_io_channel_ref() has a compatible API now.
This commit is contained in:
parent
f026692d2a
commit
c915c2d683
@ -1,3 +1,8 @@
|
|||||||
|
Mon Nov 8 10:47:41 2004 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* gobject/gsourceclosure.c: removed wrap_g_io_channel_ref() hack,
|
||||||
|
since g_io_channel_ref() has a compatible API now.
|
||||||
|
|
||||||
2004-11-02 Matthias Clasen <mclasen@redhat.com>
|
2004-11-02 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* === Released 2.5.5 ===
|
* === Released 2.5.5 ===
|
||||||
|
@ -25,16 +25,6 @@
|
|||||||
#include "gvalue.h"
|
#include "gvalue.h"
|
||||||
#include "gvaluetypes.h"
|
#include "gvaluetypes.h"
|
||||||
|
|
||||||
/* This is needed for a proper GBoxedCopyFunc, until the g_io_channel_ref API
|
|
||||||
* returns it's GIOChannel itself #131076.
|
|
||||||
*/
|
|
||||||
static GIOChannel *
|
|
||||||
wrap_g_io_channel_ref (GIOChannel *channel)
|
|
||||||
{
|
|
||||||
g_io_channel_ref (channel);
|
|
||||||
return channel;
|
|
||||||
}
|
|
||||||
|
|
||||||
GType
|
GType
|
||||||
g_io_channel_get_type (void)
|
g_io_channel_get_type (void)
|
||||||
{
|
{
|
||||||
@ -42,7 +32,7 @@ g_io_channel_get_type (void)
|
|||||||
|
|
||||||
if (our_type == 0)
|
if (our_type == 0)
|
||||||
our_type = g_boxed_type_register_static ("GIOChannel",
|
our_type = g_boxed_type_register_static ("GIOChannel",
|
||||||
(GBoxedCopyFunc) wrap_g_io_channel_ref,
|
(GBoxedCopyFunc) g_io_channel_ref,
|
||||||
(GBoxedFreeFunc) g_io_channel_unref);
|
(GBoxedFreeFunc) g_io_channel_unref);
|
||||||
|
|
||||||
return our_type;
|
return our_type;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user