get background widgets from xml

This commit is contained in:
Brandon Lewis 2010-08-02 17:22:39 +02:00 committed by Edward Hervey
parent 3ada32eeac
commit e21bce1843

View file

@ -52,6 +52,8 @@ typedef struct App
GtkWidget *generic_duration; GtkWidget *generic_duration;
GstState state; GstState state;
GType selected_type; GType selected_type;
GtkWidget *background_properties;
GtkComboBox *background_type;
} App; } App;
App *app_new (void); App *app_new (void);
@ -811,6 +813,8 @@ create_ui (App * app)
GET_WIDGET (app->play, "play", GTK_ACTION); GET_WIDGET (app->play, "play", GTK_ACTION);
GET_WIDGET (app->seconds, "seconds", GTK_ENTRY); GET_WIDGET (app->seconds, "seconds", GTK_ENTRY);
GET_WIDGET (app->generic_duration, "generic_duration", GTK_WIDGET); GET_WIDGET (app->generic_duration, "generic_duration", GTK_WIDGET);
GET_WIDGET (app->background_type, "background_type", GTK_COMBO_BOX);
GET_WIDGET (app->background_properties, "background_properties", GTK_WIDGET);
/* get text notifications */ /* get text notifications */