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 bdbff3bc8e
commit b68f478467

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,