[Commits] [SCM] claws branch, master, updated. 3.10.1-11-g89b7b7a

Colin colin at claws-mail.org
Wed Jun 11 11:50:21 CEST 2014


The branch master of project "claws" (Claws Mail) has been updated
       via  89b7b7a794d193ef409de4cb73a6748de2bd3d5a (commit)
      from  96198d8faf882f4bc1102d6521ff8c5689bf5fa1 (commit)


- Log -----------------------------------------------------------------
commit 89b7b7a794d193ef409de4cb73a6748de2bd3d5a
Author: Colin Leroy <colin at colino.net>
Date:   Wed Jun 11 11:50:16 2014 +0200

    Fix new Coverity defects

diff --git a/src/plugins/vcalendar/month-view.c b/src/plugins/vcalendar/month-view.c
index e95ffa0..b7fd6a5 100644
--- a/src/plugins/vcalendar/month-view.c
+++ b/src/plugins/vcalendar/month-view.c
@@ -887,9 +887,6 @@ static void build_month_view_table(month_win *mw)
     for (i = 1; i < days+1; i++) {
         button = gtk_label_new(_(dayname[i-1]));
 
-        if (i == 8) {
-            gtk_widget_modify_fg(button, GTK_STATE_NORMAL, &mw->fg_sunday);
-        }
         gtk_widget_set_size_request(button, mw->StartDate_button_req.width, -1);
         g_object_set_data(G_OBJECT(button), "offset", GINT_TO_POINTER(i-1));
         gtk_table_attach(GTK_TABLE(mw->dtable_h), button, i, i+1, 0, 1
diff --git a/src/plugins/vcalendar/vcal_manager.c b/src/plugins/vcalendar/vcal_manager.c
index 7a4cef2..a21c6a8 100644
--- a/src/plugins/vcalendar/vcal_manager.c
+++ b/src/plugins/vcalendar/vcal_manager.c
@@ -989,7 +989,7 @@ static VCalEvent *event_get_from_xml (const gchar *uid, GNode *node)
 	gchar *description = NULL, *url = NULL, *recur = NULL;
 	VCalEvent *event = NULL;
 	enum icalproperty_method method = ICAL_METHOD_REQUEST;
-	enum icalproperty_kind type = ICAL_VEVENT_COMPONENT;
+	enum icalcomponent_kind type = ICAL_VEVENT_COMPONENT;
 	gint sequence = 0, rec_occurence = 0;
 	time_t postponed = (time_t)0;
 	

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

Summary of changes:
 src/plugins/vcalendar/month-view.c   |    3 ---
 src/plugins/vcalendar/vcal_manager.c |    2 +-
 2 files changed, 1 insertion(+), 4 deletions(-)


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list