[gnome-media] recorder: Finish GtkComboBoxText conversion
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-media] recorder: Finish GtkComboBoxText conversion
- Date: Sun, 31 Oct 2010 00:25:42 +0000 (UTC)
commit 016a5c9e17f5d6cc5412feff4bef3988ec8e4e3b
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Oct 31 01:24:46 2010 +0100
recorder: Finish GtkComboBoxText conversion
grecord/src/gsr-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/grecord/src/gsr-window.c b/grecord/src/gsr-window.c
index a2fdee7..c84173c 100644
--- a/grecord/src/gsr-window.c
+++ b/grecord/src/gsr-window.c
@@ -1317,7 +1317,7 @@ record_cb (GtkAction *action,
shutdown_pipeline (priv->record);
if (!make_record_source (window))
return;
- current_source = gtk_combo_box_get_active_text (GTK_COMBO_BOX (window->priv->input));
+ current_source = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (window->priv->input));
fill_record_input (window, current_source);
}
@@ -1846,7 +1846,7 @@ record_input_changed_cb (GtkComboBox *input, GSRWindow *window)
GstMixerTrack *t = NULL, *new = NULL;
static GstMixerTrack *selected = NULL;
- text = gtk_combo_box_get_active_text (input);
+ text = gtk_combo_box_text_get_active_text (GTK_COMBO_BOX_TEXT (input));
GST_DEBUG ("record input changed to '%s'", GST_STR_NULL (text));
if (text == NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]