summaryrefslogtreecommitdiffstats
path: root/gst/videocrop
diff options
context:
space:
mode:
authorJan Schmidt <jan.schmidt@sun.com>2009-01-30 17:35:49 +0000
committerJan Schmidt <jan.schmidt@sun.com>2009-01-30 17:35:49 +0000
commit31b2b89cfe97acdf00f9bf10d1234f83f0a8e9a0 (patch)
treefdb80a3b240d585b7cbe1877c7f1134bf06f07b6 /gst/videocrop
parentfea851d100ad6a81f1d4c6b4bdc4af6cf9cd39ab (diff)
Don't use Glib 2.16 function g_strcmp0.
Diffstat (limited to 'gst/videocrop')
-rw-r--r--gst/videocrop/gstvideocrop.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst/videocrop/gstvideocrop.c b/gst/videocrop/gstvideocrop.c
index 607d9248..51e480d7 100644
--- a/gst/videocrop/gstvideocrop.c
+++ b/gst/videocrop/gstvideocrop.c
@@ -175,9 +175,9 @@ gst_video_crop_src_event (GstBaseTransform * trans, GstEvent * event)
event_name = gst_structure_get_string (structure, "event");
if (event_name &&
- (g_strcmp0 (event_name, "mouse-move") == 0 ||
- g_strcmp0 (event_name, "mouse-button-press") == 0 ||
- g_strcmp0 (event_name, "mouse-button-release") == 0)) {
+ (strcmp (event_name, "mouse-move") == 0 ||
+ strcmp (event_name, "mouse-button-press") == 0 ||
+ strcmp (event_name, "mouse-button-release") == 0)) {
if (gst_structure_get_double (structure, "pointer_x", &pointer_x) &&
gst_structure_get_double (structure, "pointer_y", &pointer_y)) {