diff --git a/tools/ges-ui.c b/tools/ges-ui.c index b807df94bc..cc8d83654b 100644 --- a/tools/ges-ui.c +++ b/tools/ges-ui.c @@ -1,5 +1,11 @@ #include +void +window_destroy_cb (GtkObject * window, gpointer user) +{ + gtk_main_quit (); +} + int main (int argc, char *argv[]) { @@ -10,6 +16,7 @@ main (int argc, char *argv[]) builder = gtk_builder_new (); gtk_builder_add_from_file (builder, "ges-ui.glade", NULL); window = GTK_WIDGET (gtk_builder_get_object (builder, "window")); + gtk_builder_connect_signals (builder, NULL); g_object_unref (G_OBJECT (builder)); gtk_widget_show (window); diff --git a/tools/ges-ui.glade b/tools/ges-ui.glade index c479228f27..1e4fddc815 100644 --- a/tools/ges-ui.glade +++ b/tools/ges-ui.glade @@ -10,7 +10,8 @@ - + + True @@ -152,70 +153,7 @@ - - True - - - True - - - radiobutton - True - True - False - True - True - - - 0 - - - - - True - - - 1 - - - - - 0 - - - - - True - - - radiobutton - True - True - False - True - True - - - 0 - - - - - True - - - 1 - - - - - 1 - - - - - 1 - +