aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-25 23:03:28 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-10-26 17:02:51 +0800
commit2a1759c28d088b821fdf0ae7f86cac153fd9d46e (patch)
tree0128535870d32fc838e7428ef6ce8d0c0c7932e4
parent60de5f653d7066698803e4d0a5df4417181abbc2 (diff)
downloadgsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar.gz
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar.bz2
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar.lz
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar.xz
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.tar.zst
gsoc2013-empathy-2a1759c28d088b821fdf0ae7f86cac153fd9d46e.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.c5
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
{