[gnome-calendar] misc: whitespace and code style minor fixes



commit 1de6a8b87ae81745256257a852b2ab2a42f612c2
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Mon Dec 22 21:56:38 2014 -0500

    misc: whitespace and code style minor fixes

 src/gcal-manager.c    |    1 -
 src/gcal-month-view.c |   12 +++---------
 2 files changed, 3 insertions(+), 10 deletions(-)
---
diff --git a/src/gcal-manager.c b/src/gcal-manager.c
index aa66b07..cc07e79 100644
--- a/src/gcal-manager.c
+++ b/src/gcal-manager.c
@@ -689,7 +689,6 @@ gcal_manager_get_default_source (GcalManager *manager)
   GcalManagerPrivate *priv;
 
   priv = gcal_manager_get_instance_private (manager);
-
   return e_source_registry_ref_default_calendar (priv->source_registry);
 }
 
diff --git a/src/gcal-month-view.c b/src/gcal-month-view.c
index ebc8225..40895cb 100644
--- a/src/gcal-month-view.c
+++ b/src/gcal-month-view.c
@@ -1108,14 +1108,10 @@ gcal_month_view_draw (GtkWidget *widget,
   PangoFontDescription *font_desc;
   PangoFontDescription *sfont_desc;
 
-  gint font_width;
-  gint font_height;
+  gint font_width, font_height;
 
-  gint pos_y;
-  gint pos_x;
-  gdouble start_grid_y;
-  gdouble cell_width;
-  gdouble cell_height;
+  gint pos_x, pos_y;
+  gdouble start_grid_y, cell_width, cell_height;
 
   gdouble days;
   gint shown_rows;
@@ -1282,7 +1278,6 @@ gcal_month_view_draw (GtkWidget *widget,
                              clayout);
 
           gtk_style_context_restore (context);
-
           pango_font_description_free (cfont_desc);
           g_object_unref (clayout);
         }
@@ -1888,7 +1883,6 @@ gcal_month_view_get_left_header (GcalView *view)
   GcalMonthViewPrivate *priv;
 
   gchar str_date[64];
-
   struct tm tm_date;
 
   priv = gcal_month_view_get_instance_private (GCAL_MONTH_VIEW (view));


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