[empathy] LogWindow: don't crash if there are logs from the future



commit 257b17688d9a2ca20d24800d34e9d2cda7bab740
Author: Emilio Pozuelo Monfort <emilio pozuelo collabora co uk>
Date:   Mon Aug 8 11:34:26 2011 +0100

    LogWindow: don't crash if there are logs from the future
    
    https://bugzilla.gnome.org/show_bug.cgi?id=656065

 libempathy-gtk/empathy-log-window.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-log-window.c b/libempathy-gtk/empathy-log-window.c
index e5c9350..69f461a 100644
--- a/libempathy-gtk/empathy-log-window.c
+++ b/libempathy-gtk/empathy-log-window.c
@@ -2586,7 +2586,7 @@ when_row_is_separator (GtkTreeModel *model,
       COL_WHEN_TEXT, &when,
       -1);
 
-  ret = g_str_equal (when, "separator");
+  ret = !tp_strdiff (when, "separator");
   g_free (when);
   return ret;
 }



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