[gnome-calendar] month-view: small style fix



commit cc1fd4908cc22190e94c35dd8257ec684f8116ad
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Wed Feb 17 19:10:23 2016 +0100

    month-view: small style fix

 src/gcal-month-view.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index 2b4a97e..ee8706a 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -1264,9 +1264,11 @@ gcal_month_view_size_allocate (GtkWidget     *widget,
       l = (GList*) value;
       for (aux = l; aux != NULL; aux = g_list_next (aux))
         {
-          child_widget = (GtkWidget*) aux->data;
+          GcalEvent *event;
 
-          uuid = gcal_event_get_uid (gcal_event_widget_get_event (GCAL_EVENT_WIDGET (child_widget)));
+          child_widget = aux->data;
+          event = gcal_event_widget_get_event (aux->data);
+          uuid = gcal_event_get_uid (event);
 
           if (!gtk_widget_is_visible (child_widget) && !g_hash_table_contains (ppriv->hidden_as_overflow, 
uuid))
             continue;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]