gstgtk: No need to realize the widget

The widget already does that.
This commit is contained in:
Nicolas Dufresne 2015-06-11 12:41:10 -04:00
parent 1f9bdcad87
commit 0c647ec8a7

View file

@ -154,8 +154,6 @@ main (int argc, char *argv[])
g_object_get (videosink, "widget", &area, NULL);
gtk_container_add (GTK_CONTAINER (window), area);
gtk_widget_realize (area);
g_object_unref (area);
caps = gst_caps_new_simple ("video/x-raw", "width", G_TYPE_INT, 640,