gdp: dataprotocol, lfocontrolsource: fix enum value name in enums that are public API
authorTim-Philipp Müller <tim.muller@collabora.co.uk>
Thu, 7 Oct 2010 23:38:39 +0000 (00:38 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Sun, 25 Dec 2011 22:49:59 +0000 (22:49 +0000)
So run-time bindings can introspect the names correctly (we abuse this
field as description field only in elements, not for public API
(where the description belongs into the gtk-doc chunk).

https://bugzilla.gnome.org/show_bug.cgi?id=629946

gst/gdp/dataprotocol.c

index ac0a9ce..5e413b0 100644 (file)
@@ -294,8 +294,8 @@ gst_dp_version_get_type (void)
 {
   static GType gst_dp_version_type = 0;
   static const GEnumValue gst_dp_version[] = {
-    {GST_DP_VERSION_0_2, "GDP Version 0.2", "0.2"},
-    {GST_DP_VERSION_1_0, "GDP Version 1.0", "1.0"},
+    {GST_DP_VERSION_0_2, "GST_DP_VERSION_0_2", "0.2"},
+    {GST_DP_VERSION_1_0, "GST_DP_VERSION_1_0", "1.0"},
     {0, NULL, NULL},
   };