diff options
author | Jens Georg <mail@jensge.org> | 2012-12-01 00:03:24 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2012-12-01 00:03:50 +0100 |
commit | 028de9b53a81a7db8ac61aadf0930de6e341d7b6 (patch) | |
tree | d99f01b422a09d6a7f1ced05ae1c19ef3bfbd91d | |
parent | 0e00c79b67b15ab67a1e1dffd7c5063b450df28c (diff) | |
download | gupnp-dlna-028de9b53a81a7db8ac61aadf0930de6e341d7b6.tar.gz |
Disable deprecation warnings
-rw-r--r-- | tests/dlna-encoding.c | 2 | ||||
-rw-r--r-- | tests/dlna-profile-parser.c | 2 | ||||
-rw-r--r-- | tools/gupnp-dlna-info.c | 2 | ||||
-rw-r--r-- | tools/gupnp-dlna-ls-profiles.c | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/tests/dlna-encoding.c b/tests/dlna-encoding.c index b61cdfe..79528a9 100644 --- a/tests/dlna-encoding.c +++ b/tests/dlna-encoding.c @@ -199,7 +199,9 @@ main (int argc, char **argv) GUPnPDLNAProfile *profile; gchar *inputuri; +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif ctx = g_option_context_new ("- encode URIs with GstProfile and encodebin"); g_option_context_add_main_entries (ctx, options, NULL); diff --git a/tests/dlna-profile-parser.c b/tests/dlna-profile-parser.c index 4ab179e..5f9b443 100644 --- a/tests/dlna-profile-parser.c +++ b/tests/dlna-profile-parser.c @@ -103,7 +103,9 @@ main (int argc, char **argv) GOptionContext *ctx; +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif ctx = g_option_context_new (" - test to parse dlna profiles"); g_option_context_add_main_entries (ctx, options, NULL); diff --git a/tools/gupnp-dlna-info.c b/tools/gupnp-dlna-info.c index b1f63c4..82fd72b 100644 --- a/tools/gupnp-dlna-info.c +++ b/tools/gupnp-dlna-info.c @@ -452,7 +452,9 @@ main (int argc, char **argv) GOptionContext *ctx; +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif ctx = g_option_context_new (" - program to extract DLNA and related metadata"); g_option_context_add_main_entries (ctx, options, NULL); diff --git a/tools/gupnp-dlna-ls-profiles.c b/tools/gupnp-dlna-ls-profiles.c index cb803fc..2df5cc8 100644 --- a/tools/gupnp-dlna-ls-profiles.c +++ b/tools/gupnp-dlna-ls-profiles.c @@ -103,7 +103,9 @@ main (int argc, char **argv) GOptionContext *ctx; +#if !GLIB_CHECK_VERSION(2,35,0) g_type_init (); +#endif ctx = g_option_context_new (" - program to list all the DLNA profiles supported by gupnp-dlna"); g_option_context_add_main_entries (ctx, options, NULL); |