gstreamer/tools/ges-ui.c

26 lines
519 B
C
Raw Normal View History

2010-07-19 17:02:41 +00:00
#include <gtk/gtk.h>
2010-07-19 17:39:26 +00:00
void
window_destroy_cb (GtkObject * window, gpointer user)
{
gtk_main_quit ();
}
2010-07-19 17:02:41 +00:00
int
main (int argc, char *argv[])
{
GtkBuilder *builder;
GtkWidget *window;
gtk_init (&argc, &argv);
builder = gtk_builder_new ();
gtk_builder_add_from_file (builder, "ges-ui.glade", NULL);
window = GTK_WIDGET (gtk_builder_get_object (builder, "window"));
2010-07-19 17:39:26 +00:00
gtk_builder_connect_signals (builder, NULL);
2010-07-19 17:02:41 +00:00
g_object_unref (G_OBJECT (builder));
gtk_widget_show (window);
gtk_main ();
return 0;
}