[Xfce4-commits] [thunar-plugins/thunar-media-tags-plugin] 04/10: Replace GtkComboBoxEntry by GtkComboBoxText
noreply at xfce.org
noreply at xfce.org
Thu Nov 2 23:59:22 CET 2017
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository thunar-plugins/thunar-media-tags-plugin.
commit b30ab7b3142e67a03bcd11303d87ee84abe51241
Author: Andre Miranda <andreldm at xfce.org>
Date: Thu Nov 2 19:36:45 2017 -0300
Replace GtkComboBoxEntry by GtkComboBoxText
---
thunar-plugin/audio-tags-page.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/thunar-plugin/audio-tags-page.c b/thunar-plugin/audio-tags-page.c
index 6feabbf..6350cda 100644
--- a/thunar-plugin/audio-tags-page.c
+++ b/thunar-plugin/audio-tags-page.c
@@ -433,14 +433,14 @@ audio_tags_page_init (AudioTagsPage *page)
gtk_widget_show (label);
/* Genre combo box */
- combo = gtk_combo_box_entry_new_text ();
- exo_mutual_binding_new (G_OBJECT (GTK_BIN (combo)->child), "text", G_OBJECT (page), "genre");
+ combo = gtk_combo_box_text_new_with_entry ();
+ exo_mutual_binding_new (G_OBJECT (gtk_bin_get_child (GTK_BIN (combo))), "text", G_OBJECT (page), "genre");
gtk_widget_set_tooltip_text (GTK_WIDGET (combo), _("Select or enter the genre of this song here."));
gtk_table_attach (GTK_TABLE (page->table), combo, 1, 4, 5, 6, GTK_FILL, 0, 0, 0);
gtk_widget_show (combo);
for (i=0; i<G_N_ELEMENTS (genres); i++)
- gtk_combo_box_append_text (GTK_COMBO_BOX (combo), genres[i]);
+ gtk_combo_box_text_append_text (GTK_COMBO_BOX (combo), genres[i]);
/* Create action group for the page */
page->action_group = gtk_action_group_new ("audio-tags-page-actions");
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list