[empathy] fixed a critical when quiting while searching



commit 4ac906564f1cfc4991f7482a8469881ef79639e8
Author: Felix Kaser <f kaser gmx net>
Date:   Wed Jul 28 17:55:27 2010 +0200

    fixed a critical when quiting while searching

 libempathy-gtk/empathy-live-search.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-live-search.c b/libempathy-gtk/empathy-live-search.c
index fb358be..b1ed17f 100644
--- a/libempathy-gtk/empathy-live-search.c
+++ b/libempathy-gtk/empathy-live-search.c
@@ -244,8 +244,8 @@ live_search_hook_widget_destroy_cb (GtkObject *object,
   EmpathyLiveSearch *self = EMPATHY_LIVE_SEARCH (user_data);
 
   /* unref the hook widget and hide search */
-  live_search_release_hook_widget (self);
   gtk_widget_hide (GTK_WIDGET (self));
+  live_search_release_hook_widget (self);
 }
 
 static void



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