[gst-cvs] gst-python: gstpythonplugin: Use strcmp for old glib. Fixes #579383

Edward Hervey bilboed at kemper.freedesktop.org
Sat Apr 18 00:06:04 PDT 2009


Module: gst-python
Branch: master
Commit: 71205886758fcfc5e2c907b1338f279464b173f6
URL:    http://cgit.freedesktop.org/gstreamer/gst-python/commit/?id=71205886758fcfc5e2c907b1338f279464b173f6

Author: Edward Hervey <bilboed at bilboed.com>
Date:   Sat Apr 18 09:05:09 2009 +0200

gstpythonplugin: Use strcmp for old glib. Fixes #579383

---

 plugin/gstpythonplugin.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/plugin/gstpythonplugin.c b/plugin/gstpythonplugin.c
index a090e40..08ba11a 100644
--- a/plugin/gstpythonplugin.c
+++ b/plugin/gstpythonplugin.c
@@ -278,7 +278,7 @@ pygst_require (gchar * version)
 
     /* We don't want the registry to be loaded when we import gst */
     if ((regupd = g_getenv ("GST_REGISTRY_UPDATE"))
-        && (!g_strcmp0 (regupd, "no")))
+        && (!strcmp (regupd, "no")))
       doupdate = FALSE;
     g_setenv ("GST_REGISTRY_UPDATE", "no", TRUE);
 





More information about the Gstreamer-commits mailing list