[Xfce4-commits] <parole:bluesabre/gtk3> Fix visualization loading.
Sean Davis
noreply at xfce.org
Sun Feb 17 09:30:01 CET 2013
Updating branch refs/heads/bluesabre/gtk3
to b383387fb57927437be8792d3a6eddaca9d9e5a6 (commit)
from 8060b259e08aea7a45653f39332719c78b5ee904 (commit)
commit b383387fb57927437be8792d3a6eddaca9d9e5a6
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sun Feb 17 03:28:38 2013 -0500
Fix visualization loading.
src/parole-conf-dialog.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/src/parole-conf-dialog.c b/src/parole-conf-dialog.c
index 6ac2ab1..cf36a00 100644
--- a/src/parole-conf-dialog.c
+++ b/src/parole-conf-dialog.c
@@ -340,7 +340,11 @@ static void
parole_conf_dialog_add_vis_plugins (gpointer key, gpointer value, GtkWidget *combox)
{
#if GTK_CHECK_VERSION(3, 0, 0)
- gtk_combo_box_text_append_text (GTK_COMBO_BOX_TEXT (combox), (const gchar *) key);
+ GtkListStore *store = GTK_LIST_STORE(gtk_combo_box_get_model(GTK_COMBO_BOX(combox)));
+ GtkTreeIter iter;
+
+ gtk_list_store_append( store, &iter );
+ gtk_list_store_set( store, &iter, 0, (const gchar *) key, -1 );
#else
gtk_combo_box_append_text (GTK_COMBO_BOX (combox), (const gchar *) key);
#endif
More information about the Xfce4-commits
mailing list