project: fix build warnings

https://bugzilla.gnome.org/show_bug.cgi?id=770466
This commit is contained in:
Georges Basile Stavracas Neto
2016-08-29 23:08:39 -03:00
parent 1cb71ea4a9
commit cd50bec506
12 changed files with 87 additions and 99 deletions
+3 -3
View File
@@ -1148,11 +1148,11 @@ gcal_week_view_add (GtkContainer *container,
for (l = priv->days[day]; l != NULL; l = l->next)
{
GtkWidget *event;
GtkWidget *event_widget;
event = GTK_WIDGET (((GcalWeekViewChild*) l->data)->widget);
event_widget = GTK_WIDGET (((GcalWeekViewChild*) l->data)->widget);
if (gcal_event_widget_equal (GCAL_EVENT_WIDGET (widget),
GCAL_EVENT_WIDGET (event)))
GCAL_EVENT_WIDGET (event_widget)))
{
//TODO: remove once the main-dev phase its over
g_warning ("Trying to add an event with the same uuid to the view");