diff options
author | Jens Georg <mail@jensge.org> | 2015-11-28 19:49:18 +0100 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-12-05 13:44:57 +0100 |
commit | 3d38f2fc63c9df9f8c562651b460d4cc6abc0af4 (patch) | |
tree | f967a3508ab0171605d8ac7b7611e207d220fb79 /examples | |
parent | 4440a1332af3dd377791777b40cfb8113e82d6b0 (diff) | |
download | gupnp-3d38f2fc63c9df9f8c562651b460d4cc6abc0af4.tar.gz |
Remove GLIB_CHECK_VERSION <= 2.40
We require 2.40 by the build, so the macros are not needed anymore.
Signed-off-by: Jens Georg <mail@jensge.org>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/light-client.c | 4 | ||||
-rw-r--r-- | examples/light-server.c | 4 |
2 files changed, 0 insertions, 8 deletions
diff --git a/examples/light-client.c b/examples/light-client.c index cdb9aab..9fa31fa 100644 --- a/examples/light-client.c +++ b/examples/light-client.c @@ -120,10 +120,6 @@ main (int argc, char **argv) GUPnPContext *context; GUPnPControlPoint *cp; -#if !GLIB_CHECK_VERSION(2,35,0) - g_type_init (); -#endif - optionContext = g_option_context_new ("[on|off|toggle]"); g_option_context_add_main_entries (optionContext, entries, NULL); if (!g_option_context_parse (optionContext, &argc, &argv, &error)) diff --git a/examples/light-server.c b/examples/light-server.c index f1b7162..c68874e 100644 --- a/examples/light-server.c +++ b/examples/light-server.c @@ -133,10 +133,6 @@ main (G_GNUC_UNUSED int argc, G_GNUC_UNUSED char **argv) GUPnPRootDevice *dev; GUPnPServiceInfo *service; -#if !GLIB_CHECK_VERSION(2,35,0) - g_type_init (); -#endif - optionContext = g_option_context_new (NULL); g_option_context_add_main_entries (optionContext, entries, NULL); if (!g_option_context_parse (optionContext, &argc, &argv, &error)) |