diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-25 23:03:28 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-10-26 17:21:59 +0800 |
commit | f3e2b667893b4abc3b39aa338716dace9e9723ac (patch) | |
tree | a85d4f2d5df9398f3f3c8fda948b92bcdcfd9f80 | |
parent | bec05425315c6ab2581300b9f0f98f8fe2e2273d (diff) | |
download | gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar.gz gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar.bz2 gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar.lz gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar.xz gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.tar.zst gsoc2013-empathy-f3e2b667893b4abc3b39aa338716dace9e9723ac.zip |
empathy-debugger: rely on gtk_application_add_window() to manage the main loop
https://bugzilla.gnome.org/show_bug.cgi?id=662504
-rw-r--r-- | src/empathy-debugger.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c index 664dc211a..0bf34e015 100644 --- a/src/empathy-debugger.c +++ b/src/empathy-debugger.c @@ -38,10 +38,9 @@ activate_cb (GApplication *app) if (window == NULL) { window = empathy_debug_window_new (NULL); - g_signal_connect (window, "destroy", gtk_main_quit, NULL); - /* don't let this application exit automatically */ - g_application_hold (G_APPLICATION (app)); + gtk_application_add_window (GTK_APPLICATION (app), + GTK_WINDOW (window)); } else { |