gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires this flag, but it...
authorAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2005 16:04:28 +0000 (16:04 +0000)
committerAndy Wingo <wingo@pobox.com>
Mon, 10 Oct 2005 16:04:28 +0000 (16:04 +0000)
Original commit message from CVS:
2005-10-10  Andy Wingo  <wingo@pobox.com>

* gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
this flag, but it's not even in GLib 2.6. Odd. Hack around the
issue.

ChangeLog
gst/gst.c

index 20ca93f..dadfa58 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
 
 2005-10-10  Andy Wingo  <wingo@pobox.com>
 
+       * gst/gst.c (G_OPTION_FLAG_NO_ARG): Apparently GLib 2.8 requires
+       this flag, but it's not even in GLib 2.6. Odd. Hack around the
+       issue.
+
+2005-10-10  Andy Wingo  <wingo@pobox.com>
+
        Merged in popt removal + GOption addition patch from Ronald, bug
        #169772.
 
index d8960b8..f6f79c1 100644 (file)
--- a/gst/gst.c
+++ b/gst/gst.c
@@ -237,6 +237,10 @@ parse_debug_list (const gchar * list)
   g_strfreev (split);
 }
 
+#ifndef GST_HAVE_GLIB_2_8
+#define G_OPTION_FLAG_NO_ARG 0
+#endif
+
 /**
  * gst_init_get_option_group:
  *