[gnome-calendar] year-view: fix sidebar headers



commit 15604b13d8e491294093b4cbbb84eaa4bb4ec466
Author: Erick Pérez Castellanos <erick red gmail com>
Date:   Sun Feb 15 21:59:23 2015 -0500

    year-view: fix sidebar headers

 src/gcal-year-view.c |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)
---
diff --git a/src/gcal-year-view.c b/src/gcal-year-view.c
index 8346499..6188c0f 100644
--- a/src/gcal-year-view.c
+++ b/src/gcal-year-view.c
@@ -439,10 +439,8 @@ update_sidebar_headers (GtkListBoxRow *row,
     }
 
   if (row_header != NULL)
-    {
-      gtk_widget_show_all (row_header);
-      gtk_list_box_row_set_header (row, row_header);
-    }
+    gtk_widget_show_all (row_header);
+  gtk_list_box_row_set_header (row, row_header);
 }
 
 static gint


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