[gnome-calendar] window: remove annoying compile warning



commit 4585b4494135b95950f3b2e0e8260156e138199d
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Tue Feb 10 00:00:58 2015 -0200

    window: remove annoying compile warning
    
    Hey GCC, they're just pointers!

 src/gcal-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcal-window.c b/src/gcal-window.c
index de47517..9ebde13 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -934,7 +934,7 @@ source_row_activated (GtkListBox    *listbox,
       current_row = g_hash_table_lookup (priv->calendar_source_to_row, aux->data);
 
       /* Enable/disable the toggled calendar */
-      if (current_row == row)
+      if (current_row == GTK_WIDGET (row))
         {
           source = aux->data;
           break;


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