From 60de5f653d7066698803e4d0a5df4417181abbc2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Tue, 25 Oct 2011 17:03:28 +0200 Subject: empathy: rely on gtk_application_add_window() to manage the main loop We are not supposed to call gtk_main_quit() as we don't use gtk_main() any more. Instead we add the windows to the GtkApplication which will take care of exiting when they have been all destroyed. https://bugzilla.gnome.org/show_bug.cgi?id=662504 --- src/empathy-main-window.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/empathy-main-window.c') diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c index c5f13dfaf..da8acf153 100644 --- a/src/empathy-main-window.c +++ b/src/empathy-main-window.c @@ -1433,7 +1433,7 @@ static void main_window_chat_quit_cb (GtkAction *action, EmpathyMainWindow *window) { - gtk_main_quit (); + gtk_widget_destroy (GTK_WIDGET (window)); } static void -- cgit v1.2.3