[gnome-calendar/ui-rewrite] gcal-window: fixed minor sigsegv when no positionis saved



commit 6d9d32ff53b4f0ebf44c6e5e652a7f39c21cf0c9
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Fri Aug 16 17:20:04 2013 -0400

    gcal-window: fixed minor sigsegv when no positionis saved

 src/gcal-window.c |    8 --------
 1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index 92ebe8f..e4b3d22 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -293,10 +293,6 @@ load_geometry (GcalWindow *window)
                                  size[1]);
   g_variant_unref (variant);
 
-  g_debug ("loaded window geometry -> size:[%d,%d]",
-           size[0],
-           size[1]);
-
   /* load window settings: position */
   variant = g_settings_get_value (settings,
                                   "window-position");
@@ -310,10 +306,6 @@ load_geometry (GcalWindow *window)
 
   g_variant_unref (variant);
 
-  g_debug ("loaded window geometry -> position:[%d,%d]",
-           position[0],
-           position[1]);
-
   /* load window settings: state */
   maximized = g_settings_get_boolean (settings,
                                       "window-maximized");


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