get freq/volume widgets
authorBrandon Lewis <brandon@collabora.co.uk>
Tue, 3 Aug 2010 12:38:42 +0000 (14:38 +0200)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Thu, 2 Sep 2010 16:04:27 +0000 (18:04 +0200)
tests/examples/ges-ui.c

index aa52d56..8fe7fa0 100644 (file)
@@ -54,6 +54,8 @@ typedef struct App
   GType selected_type;
   GtkWidget *background_properties;
   GtkComboBox *background_type;
+  GtkSpinButton *frequency;
+  GtkHScale *volume;
 } App;
 
 App *app_new (void);
@@ -910,6 +912,8 @@ create_ui (App * app)
   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_WIDGET (app->frequency, "frequency", GTK_SPIN_BUTTON);
+  GET_WIDGET (app->volume, "volume", GTK_HSCALE);
 
   /* get text notifications */