diff options
author | Sebastian Dröge <slomo@circular-chaos.org> | 2008-04-24 22:01:52 +0000 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2008-04-24 22:01:52 +0000 |
commit | 287b38dc709ddb8eed8ef7b0d713f9ced25427a0 (patch) | |
tree | 3309db908bf55a09c5ac85e26e5f30e4eced8346 /ext/cairo/gsttextoverlay.c | |
parent | 5990c11c1d7a31ec91df7f35bf1f30a010a54498 (diff) |
Stop using deprecated GLib functions.
Original commit message from CVS:
* ext/cairo/gsttextoverlay.c: (gst_text_overlay_set_property):
* gst/debug/tests.c: (md5_get_value):
* gst/rtp/gstrtph263pdepay.c: (gst_rtp_h263p_depay_setcaps):
* gst/rtp/gstrtpilbcpay.c: (gst_rtpilbcpay_setcaps):
* gst/rtp/gstrtptheoradepay.c: (gst_rtp_theora_depay_setcaps):
* gst/rtp/gstrtpvorbisdepay.c: (gst_rtp_vorbis_depay_setcaps):
Stop using deprecated GLib functions.
Diffstat (limited to 'ext/cairo/gsttextoverlay.c')
-rw-r--r-- | ext/cairo/gsttextoverlay.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/cairo/gsttextoverlay.c b/ext/cairo/gsttextoverlay.c index 69422a8e..74fc7755 100644 --- a/ext/cairo/gsttextoverlay.c +++ b/ext/cairo/gsttextoverlay.c @@ -339,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 (g_strcasecmp (s, "baseline") == 0) + if (g_ascii_strcasecmp (s, "baseline") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_BASELINE; - else if (g_strcasecmp (s, "bottom") == 0) + else if (g_ascii_strcasecmp (s, "bottom") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_BOTTOM; - else if (g_strcasecmp (s, "top") == 0) + else if (g_ascii_strcasecmp (s, "top") == 0) overlay->valign = GST_CAIRO_TEXT_OVERLAY_VALIGN_TOP; else g_warning ("Invalid 'valign' property value: %s", s); @@ -352,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 (g_strcasecmp (s, "left") == 0) + if (g_ascii_strcasecmp (s, "left") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_LEFT; - else if (g_strcasecmp (s, "right") == 0) + else if (g_ascii_strcasecmp (s, "right") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_RIGHT; - else if (g_strcasecmp (s, "center") == 0) + else if (g_ascii_strcasecmp (s, "center") == 0) overlay->halign = GST_CAIRO_TEXT_OVERLAY_HALIGN_CENTER; else g_warning ("Invalid 'halign' property value: %s", s); |