diff options
author | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-09-30 17:46:47 +0100 |
---|---|---|
committer | Philip Withnall <philip.withnall@collabora.co.uk> | 2015-10-01 09:21:05 +0100 |
commit | ea3348020da586f20e1a64c9732405e730563616 (patch) | |
tree | 471f0961124abdfecc0371aed290db4d9dd1937e /examples | |
parent | 9f10231fc787e4683e896bf35f086906a5b16c03 (diff) | |
download | libnice-ea3348020da586f20e1a64c9732405e730563616.tar.gz |
agent: Remove redundant GLIB_CHECK_VERSION macros
We depend on GLib 2.36.0, which is a higher version than any of these
version checks cared about, so they were all trivially true or false.
Reviewed-by: Olivier CrĂȘte <olivier.crete@collabora.com>
Differential Revision: https://phabricator.freedesktop.org/D298
Diffstat (limited to 'examples')
-rw-r--r-- | examples/sdp-example.c | 2 | ||||
-rw-r--r-- | examples/simple-example.c | 2 | ||||
-rw-r--r-- | examples/threaded-example.c | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/examples/sdp-example.c b/examples/sdp-example.c index bb95440..b6dd80a 100644 --- a/examples/sdp-example.c +++ b/examples/sdp-example.c @@ -44,9 +44,7 @@ #include <agent.h> -#if GLIB_CHECK_VERSION(2, 36, 0) #include <gio/gnetworking.h> -#endif static GMainLoop *gloop; static gchar *stun_addr = NULL; diff --git a/examples/simple-example.c b/examples/simple-example.c index 17702b1..6ce171a 100644 --- a/examples/simple-example.c +++ b/examples/simple-example.c @@ -44,9 +44,7 @@ #include <agent.h> -#if GLIB_CHECK_VERSION(2, 36, 0) #include <gio/gnetworking.h> -#endif static GMainLoop *gloop; static GIOChannel* io_stdin; diff --git a/examples/threaded-example.c b/examples/threaded-example.c index d23d7f9..575b4dc 100644 --- a/examples/threaded-example.c +++ b/examples/threaded-example.c @@ -44,9 +44,7 @@ #include <agent.h> -#if GLIB_CHECK_VERSION(2, 36, 0) #include <gio/gnetworking.h> -#endif static GMainLoop *gloop; static gchar *stun_addr = NULL; |