[gnome-calendar/calendar-editor] window: remove annoying compile warning



commit 3ab722ba542d001257a3c570f14413c1ac3c73e9
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 1bf24cc..c6c15f7 100644
--- a/src/gcal-window.c
+++ b/src/gcal-window.c
@@ -891,7 +891,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]