summaryrefslogtreecommitdiff
path: root/gst-mixer/src/track.c
diff options
context:
space:
mode:
Diffstat (limited to 'gst-mixer/src/track.c')
-rw-r--r--gst-mixer/src/track.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gst-mixer/src/track.c b/gst-mixer/src/track.c
index 2eb13cc..1861cfd 100644
--- a/gst-mixer/src/track.c
+++ b/gst-mixer/src/track.c
@@ -116,7 +116,7 @@ cb_option_changed (GtkComboBox *box,
MateVolumeControlTrack *ctrl = data;
gchar *opt;
- opt = gtk_combo_box_get_active_text (box);
+ opt = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (box));
if (opt)
gst_mixer_set_option (ctrl->mixer, GST_MIXER_OPTIONS (ctrl->track), opt);
g_free (opt);
@@ -542,13 +542,13 @@ mate_volume_control_track_add_option (GtkTable *table,
/* optionmenu */
active_opt = gst_mixer_get_option (mixer, options);
if (active_opt != NULL) {
- ctrl->options = gtk_combo_box_new_text ();
+ ctrl->options = gtk_combo_box_text_new ();
opts = gst_mixer_options_get_values (options);
for (opt = opts; opt != NULL; opt = opt->next, i++) {
if (opt->data == NULL)
continue;
- gtk_combo_box_append_text (GTK_COMBO_BOX (ctrl->options), opt->data);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (ctrl->options), opt->data);
if (g_str_equal (active_opt, opt->data)) {
gtk_combo_box_set_active (GTK_COMBO_BOX (ctrl->options), i);