From b9ebc71cc8d40e3047af85223ab9c7cb98888ebc Mon Sep 17 00:00:00 2001 From: Matthew Waters Date: Fri, 12 Jun 2015 12:40:50 +1000 Subject: [PATCH] gtk: fix a couple of typos --- ext/gtk/gstgtkglsink.c | 6 +++--- ext/gtk/gstgtksink.c | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/ext/gtk/gstgtkglsink.c b/ext/gtk/gstgtkglsink.c index f278873b89..c89c940eb4 100644 --- a/ext/gtk/gstgtkglsink.c +++ b/ext/gtk/gstgtkglsink.c @@ -94,7 +94,7 @@ gst_gtk_gl_sink_class_init (GstGtkGLSinkClass * klass) gobject_class->get_property = gst_gtk_gl_sink_get_property; gst_element_class_set_metadata (gstelement_class, "Gtk Video Sink", - "Sink/Video", "A video sink the renders to a GtkWidget", + "Sink/Video", "A video sink that renders to a GtkWidget", "Matthew Waters "); g_object_class_install_property (gobject_class, PROP_WIDGET, @@ -150,7 +150,7 @@ gst_gtk_gl_sink_get_widget (GstGtkGLSink * gtk_sink) return gtk_sink->widget; /* Ensure GTK is initialized, this has no side effect if it was already - * initialized. Also, we do that lazylli, so the application can be first */ + * initialized. Also, we do that lazily, so the application can be first */ if (!gtk_init_check (NULL, NULL)) { GST_ERROR_OBJECT (gtk_sink, "Could not ensure GTK initialization."); return NULL; @@ -261,7 +261,7 @@ gst_gtk_gl_sink_change_state (GstElement * element, GstStateChange transition) if (!gtk_widget_get_parent (GTK_WIDGET (gtk_sink->widget))) { GST_ERROR_OBJECT (gtk_sink, - "gtkglsink widget need to be parented to work."); + "gtkglsink widget needs to be parented to work."); return GST_STATE_CHANGE_FAILURE; } diff --git a/ext/gtk/gstgtksink.c b/ext/gtk/gstgtksink.c index b921ff02fe..94b704775c 100644 --- a/ext/gtk/gstgtksink.c +++ b/ext/gtk/gstgtksink.c @@ -92,7 +92,7 @@ gst_gtk_sink_class_init (GstGtkSinkClass * klass) gobject_class->get_property = gst_gtk_sink_get_property; gst_element_class_set_metadata (gstelement_class, "Gtk Video Sink", - "Sink/Video", "A video sink the renders to a GtkWidget", + "Sink/Video", "A video sink that renders to a GtkWidget", "Matthew Waters "); g_object_class_install_property (gobject_class, PROP_WIDGET, @@ -147,7 +147,7 @@ gst_gtk_sink_get_widget (GstGtkSink * gtk_sink) return gtk_sink->widget; /* Ensure GTK is initialized, this has no side effect if it was already - * initialized. Also, we do that lazylli, so the application can be first */ + * initialized. Also, we do that lazily, so the application can be first */ if (!gtk_init_check (NULL, NULL)) { GST_ERROR_OBJECT (gtk_sink, "Could not ensure GTK initialization."); return NULL;