diff options
author | Mike Gorse <mgorse@novell.com> | 2010-08-02 21:25:07 -0400 |
---|---|---|
committer | Mike Gorse <mgorse@novell.com> | 2010-08-02 21:25:07 -0400 |
commit | 221c035bca439c691d7e1b649d4b9d3382d43192 (patch) | |
tree | 13eaa854030b99b5db38d9a90ac45bddf40b59d8 /droute | |
parent | 98d63d9d8396e292de3006c70e1c688b86681adf (diff) | |
download | at-spi2-atk-221c035bca439c691d7e1b649d4b9d3382d43192.tar.gz |
Define -DG_DISABLE_DEPRECATED, and remove deprecated glib symbol
FDO#29365
Diffstat (limited to 'droute')
-rw-r--r-- | droute/Makefile.am | 6 | ||||
-rw-r--r-- | droute/droute-test.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/droute/Makefile.am b/droute/Makefile.am index 94cefaf..c8b34b8 100644 --- a/droute/Makefile.am +++ b/droute/Makefile.am @@ -2,7 +2,8 @@ noinst_LTLIBRARIES = libdroute.la libdroute_la_CFLAGS = $(DBUS_GLIB_CFLAGS) \ -I$(top_builddir)\ - -I$(top_srcdir) + -I$(top_srcdir) \ + -DG_DISABLE_DEPRECATED libdroute_la_SOURCES =\ droute.c\ @@ -19,7 +20,8 @@ check_PROGRAMS = droute-test droute_test_SOURCES = droute-test.c droute_test_CFLAGS = $(DBUS_GLIB_CFLAGS) \ -I$(top_builddir)\ - -I$(top_srcdir) + -I$(top_srcdir) \ + -DG_DISABLE_DEPRECATED droute_test_LDFLAGS = $(top_builddir)/dbind/libdbind.la\ libdroute.la\ diff --git a/droute/droute-test.c b/droute/droute-test.c index 32d8521..33766a2 100644 --- a/droute/droute-test.c +++ b/droute/droute-test.c @@ -267,7 +267,7 @@ int main (int argc, char **argv) test_properties); g_idle_add (do_tests_func, NULL); - g_main_run(main_loop); + g_main_loop_run(main_loop); if (success) return 0; else |