summaryrefslogtreecommitdiff
path: root/ext/gtk
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2015-06-12 12:40:50 +1000
committerMatthew Waters <matthew@centricular.com>2015-06-12 12:40:50 +1000
commitadce0220a88cc228847bb7a42cab9e09250009f2 (patch)
tree81842813fcef25a31ba5dfd123e26cc4162a7f97 /ext/gtk
parentd99b7d42193a73c1ddfbba9d9a7d1ce52819c54c (diff)
downloadgstreamer-plugins-bad-adce0220a88cc228847bb7a42cab9e09250009f2.tar.gz
gtk: fix a couple of typos
Diffstat (limited to 'ext/gtk')
-rw-r--r--ext/gtk/gstgtkglsink.c6
-rw-r--r--ext/gtk/gstgtksink.c4
2 files changed, 5 insertions, 5 deletions
diff --git a/ext/gtk/gstgtkglsink.c b/ext/gtk/gstgtkglsink.c
index f278873b8..c89c940eb 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 <matthew@centricular.com>");
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 b921ff02f..94b704775 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 <matthew@centricular.com>");
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;