[Commits] [SCM] claws branch, master, updated. 3.10.1-72-gf6ba0bb

mones at claws-mail.org mones at claws-mail.org
Tue Jun 17 16:40:36 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  f6ba0bbe4958bff55321f1c2e9b40ebbc85d608c (commit)
      from  72af590ae944e16136d1dcbb2ea3e4f7c7fd44aa (commit)

Summary of changes:
 src/plugins/rssyl/rssyl_feed_props.c |   13 +++++++++++++
 1 file changed, 13 insertions(+)


- Log -----------------------------------------------------------------
commit f6ba0bbe4958bff55321f1c2e9b40ebbc85d608c
Author: Ricardo Mones <ricardo at mones.org>
Date:   Tue Jun 17 16:40:24 2014 +0200

    Use gtk_combo_box_new_text only if supported

diff --git a/src/plugins/rssyl/rssyl_feed_props.c b/src/plugins/rssyl/rssyl_feed_props.c
index f1eba40..e7edcf6 100644
--- a/src/plugins/rssyl/rssyl_feed_props.c
+++ b/src/plugins/rssyl/rssyl_feed_props.c
@@ -286,12 +286,25 @@ void rssyl_gtk_prop(RFolderItem *ritem)
 			1, 0);
 
 	/* Silent update - combobox */
+#if !GTK_CHECK_VERSION(2, 24, 0)
+	feedprop->silent_update = gtk_combo_box_new_text();
+	gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+#else
 	feedprop->silent_update = gtk_combo_box_text_new();
 	gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
+#endif
 			_("Always mark as new"));
+#if !GTK_CHECK_VERSION(2, 24, 0)
+	gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+#else
 	gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
+#endif
 			_("If only its text changed"));
+#if !GTK_CHECK_VERSION(2, 24, 0)
+	gtk_combo_box_append_text(GTK_COMBO_BOX(feedprop->silent_update),
+#else
 	gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(feedprop->silent_update),
+#endif
 			_("Never mark as new"));
 	gtk_combo_box_set_active(GTK_COMBO_BOX(feedprop->silent_update),
 			ritem->silent_update);

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list