mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-24 09:58:54 +02:00
add -DG_DISABLED_DEPRECATED
Tue Oct 15 15:07:45 2002 Manish Singh <yosh@gimp.org> * gmodule/Makefile.am gobject/Makefile.am gthread/Makefile.am: add -DG_DISABLED_DEPRECATED * tests/gio-test.c tests/mainloop-test.c tests/string-test.c tests/testglib.c test/tree-test.c tests/unicode-collate.c tests/unicode-normalize.c: Deprecation cleanup
This commit is contained in:
committed by
Manish Singh
parent
1565a2027e
commit
d1f37d5053
@@ -167,10 +167,8 @@ adder_thread (gpointer data)
|
||||
g_source_attach (timeout_source, context);
|
||||
g_source_unref (timeout_source);
|
||||
|
||||
g_main_run (addr_data.loop);
|
||||
g_main_loop_run (addr_data.loop);
|
||||
|
||||
g_io_channel_close (channels[0]);
|
||||
g_io_channel_close (channels[1]);
|
||||
g_io_channel_unref (channels[0]);
|
||||
g_io_channel_unref (channels[1]);
|
||||
|
||||
@@ -204,6 +202,9 @@ io_pipe (GIOChannel **channels)
|
||||
|
||||
channels[0] = g_io_channel_unix_new (fds[0]);
|
||||
channels[1] = g_io_channel_unix_new (fds[1]);
|
||||
|
||||
g_io_channel_set_close_on_unref (channels[0], TRUE);
|
||||
g_io_channel_set_close_on_unref (channels[1], TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
@@ -242,9 +243,6 @@ adder_response (GIOChannel *source,
|
||||
exit (1);
|
||||
}
|
||||
|
||||
g_io_channel_close (source);
|
||||
g_io_channel_close (test_data->in);
|
||||
|
||||
g_io_channel_unref (source);
|
||||
g_io_channel_unref (test_data->in);
|
||||
|
||||
|
Reference in New Issue
Block a user