[Xfce4-commits] [apps/gigolo] 23/35: use the proper macro

noreply at xfce.org noreply at xfce.org
Mon Oct 31 18:18:57 CET 2016


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/gigolo.

commit d92da6c1a5483f012fdd8a0858044153899d8793
Author: Landry Breuil <landry at xfce.org>
Date:   Sun Jun 19 16:58:41 2016 +0200

    use the proper macro
---
 src/preferencesdialog.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/preferencesdialog.c b/src/preferencesdialog.c
index 65dad12..12a418c 100644
--- a/src/preferencesdialog.c
+++ b/src/preferencesdialog.c
@@ -143,10 +143,10 @@ static GtkWidget *add_toolbar_style_combo(GigoloSettings *settings, const gchar
 	g_object_get(settings, property, &value, NULL);
 
 	widget = gtk_combo_box_text_new();
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Icons"));
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Text"));
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Both"));
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Both horizontal"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Icons"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Text"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Both"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Both horizontal"));
 
 	gtk_combo_box_set_active(GTK_COMBO_BOX(widget), value);
 
@@ -165,8 +165,8 @@ static GtkWidget *add_toolbar_orientation_combo(GigoloSettings *settings, const
 	g_object_get(settings, property, &value, NULL);
 
 	widget = gtk_combo_box_text_new();
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Horizontal"));
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Vertical"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Horizontal"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Vertical"));
 
 	gtk_combo_box_set_active(GTK_COMBO_BOX(widget), value);
 
@@ -185,8 +185,8 @@ static GtkWidget *add_view_mode_combo(GigoloSettings *settings, const gchar *pro
 	g_object_get(settings, property, &value, NULL);
 
 	widget = gtk_combo_box_text_new();
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Symbols"));
-	gtk_combo_box_text_append(GTK_COMBO_BOX(widget), NULL, _("Detailed List"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Symbols"));
+	gtk_combo_box_text_append(GTK_COMBO_BOX_TEXT(widget), NULL, _("Detailed List"));
 
 	gtk_combo_box_set_active(GTK_COMBO_BOX(widget), value);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list