Get rid of deprecated use of GtkComboBox text functions in favour of GtkComboBoxText.
authorAndrej Kacian <andrej@kacian.sk>
Sat, 14 Jun 2014 15:32:39 +0000 (17:32 +0200)
committerAndrej Kacian <andrej@kacian.sk>
Tue, 17 Jun 2014 12:24:01 +0000 (14:24 +0200)
src/plugins/rssyl/rssyl_feed_props.c

index f6a2d89..f1eba40 100644 (file)
@@ -286,12 +286,12 @@ void rssyl_gtk_prop(RFolderItem *ritem)
                        1, 0);
 
        /* Silent update - combobox */
-       feedprop->silent_update = gtk_combo_box_new_text();
-       gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+       feedprop->silent_update = gtk_combo_box_text_new();
+       gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
                        _("Always mark as new"));
-       gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+       gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
                        _("If only its text changed"));
-       gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+       gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
                        _("Never mark as new"));
        gtk_combo_box_set_active(GTK_COMBO_BOX(feedprop->silent_update),
                        ritem->silent_update);