}
static void
-gst_gtk_widget_show_all_and_unref (GtkWidget *widget)
+gst_gtk_widget_show_all_and_unref (GtkWidget * widget)
{
gtk_widget_show_all (widget);
g_object_unref (widget);
GST_OBJECT_UNLOCK (gtk_sink);
if (window)
- gst_gtk_invoke_on_main ((GThreadFunc) gst_gtk_widget_show_all_and_unref, window);
+ gst_gtk_invoke_on_main ((GThreadFunc) gst_gtk_widget_show_all_and_unref,
+ window);
break;
}
return FALSE;
}
- if (!gtk_gst_base_widget_set_format (gtk_sink->widget, >k_sink->v_info))
+ if (!gtk_gst_base_widget_set_format (gtk_sink->widget, >k_sink->v_info)) {
+ GST_OBJECT_UNLOCK (gtk_sink);
return FALSE;
-
+ }
GST_OBJECT_UNLOCK (gtk_sink);
return TRUE;