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:
Manish Singh
2002-10-15 22:16:57 +00:00
committed by Manish Singh
parent 1565a2027e
commit d1f37d5053
17 changed files with 103 additions and 41 deletions

View File

@@ -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);