gstpythonplugin: Use strcmp for old glib. Fixes #579383

This commit is contained in:
Edward Hervey 2009-04-18 09:05:09 +02:00
parent ec692ee329
commit 7120588675

View file

@ -278,7 +278,7 @@ pygst_require (gchar * version)
/* We don't want the registry to be loaded when we import gst */ /* We don't want the registry to be loaded when we import gst */
if ((regupd = g_getenv ("GST_REGISTRY_UPDATE")) if ((regupd = g_getenv ("GST_REGISTRY_UPDATE"))
&& (!g_strcmp0 (regupd, "no"))) && (!strcmp (regupd, "no")))
doupdate = FALSE; doupdate = FALSE;
g_setenv ("GST_REGISTRY_UPDATE", "no", TRUE); g_setenv ("GST_REGISTRY_UPDATE", "no", TRUE);