diff options
author | David Schleef <ds@schleef.org> | 2007-11-16 05:52:55 +0000 |
---|---|---|
committer | David Schleef <ds@schleef.org> | 2007-11-16 05:52:55 +0000 |
commit | d31b6078fb34d9e7234cfab7a2cd2abd3a887267 (patch) | |
tree | 7c781aad81ed79ab010fc6490afbdd75287c9566 /ext/cairo/gsttextoverlay.c | |
parent | ccf7a43e6fd6c2a933df3ef1e84fed5f0fe2cb33 (diff) |
ext/cairo/gsttextoverlay.c: Change strcasecmp() to g_strcasecmp(). Fixes #497292.
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c:
Change strcasecmp() to g_strcasecmp(). Fixes #497292.
Diffstat (limited to 'ext/cairo/gsttextoverlay.c')
-rw-r--r-- | ext/cairo/gsttextoverlay.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/ext/cairo/gsttextoverlay.c b/ext/cairo/gsttextoverlay.c index bf904efe..69422a8e 100644 --- a/ext/cairo/gsttextoverlay.c +++ b/ext/cairo/gsttextoverlay.c @@ -22,7 +22,6 @@ #include <config.h> #endif #include <string.h> -#include <strings.h> #include <gst/video/video.h> #include "gsttextoverlay.h" @@ -340,11 +339,11 @@ gst_text_overlay_set_property (GObject * object, guint prop_id, case ARG_VALIGN:{ const gchar *s = g_value_get_string (value); - if (strcasecmp (s, "baseline") == 0) + if (g_strcasecmp (s, "baseline") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_BASELINE; - else if (strcasecmp (s, "bottom") == 0) + else if (g_strcasecmp (s, "bottom") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_BOTTOM; - else if (strcasecmp (s, "top") == 0) + else if (g_strcasecmp (s, "top") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_TOP; else g_warning ("Invalid 'valign' property value: %s", s); @@ -353,11 +352,11 @@ gst_text_overlay_set_property (GObject * object, guint prop_id, case ARG_HALIGN:{ const gchar *s = g_value_get_string (value); - if (strcasecmp (s, "left") == 0) + if (g_strcasecmp (s, "left") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_LEFT; - else if (strcasecmp (s, "right") == 0) + else if (g_strcasecmp (s, "right") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_RIGHT; - else if (strcasecmp (s, "center") == 0) + else if (g_strcasecmp (s, "center") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_CENTER; else g_warning ("Invalid 'halign' property value: %s", s); |