[gnome-calendar] misc: comments and whitespace fixes



commit 3ac46c9a3ca2221d1d94ed14d74e415d6b8bad14
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Tue Jan 20 13:55:23 2015 -0500

    misc: comments and whitespace fixes

 src/gcal-application.c             |    1 +
 src/gcal-subscriber-view-private.h |    3 ++-
 src/gcal-subscriber-view.c         |    2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gcal-application.c b/src/gcal-application.c
index 3635191..71ce9c2 100644
--- a/src/gcal-application.c
+++ b/src/gcal-application.c
@@ -231,6 +231,7 @@ gcal_application_activate (GApplication *application)
       g_settings_bind (priv->settings, "active-view", priv->window, "active-view",
                        G_SETTINGS_BIND_SET | G_SETTINGS_BIND_GET);
 
+      /* FIXME: remove me in favor of gtk_widget_show() */
       gtk_widget_show_all (priv->window);
     }
 }
diff --git a/src/gcal-subscriber-view-private.h b/src/gcal-subscriber-view-private.h
index cb21577..480160a 100644
--- a/src/gcal-subscriber-view-private.h
+++ b/src/gcal-subscriber-view-private.h
@@ -34,7 +34,8 @@ struct _GcalSubscriberViewPrivate
   GHashTable     *children;
 
   /**
-   * Hash containig single-day events, day of the month as key and a list of the events that belongs to this 
day
+   * Hash containig single-cell events, day of the month, on month-view, month of the year on year-view as 
key and
+   * a list of the events that belongs to this cell
    */
   GHashTable     *single_cell_children;
 
diff --git a/src/gcal-subscriber-view.c b/src/gcal-subscriber-view.c
index 7f8c68c..42b97c9 100644
--- a/src/gcal-subscriber-view.c
+++ b/src/gcal-subscriber-view.c
@@ -82,7 +82,7 @@ G_DEFINE_TYPE_WITH_CODE (GcalSubscriberView, gcal_subscriber_view, GTK_TYPE_CONT
 
 static void
 event_activated (GcalEventWidget *widget,
-                gpointer         user_data)
+                 gpointer         user_data)
 {
   /* FIXME: implement clear_state vfunc in descendants */
   gcal_subscriber_view_clear_state (GCAL_SUBSCRIBER_VIEW (user_data));


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