diff options
Diffstat (limited to 'src/empathy-debugger.c')
-rw-r--r-- | src/empathy-debugger.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/empathy-debugger.c b/src/empathy-debugger.c index 9ff142b1c..2203041d1 100644 --- a/src/empathy-debugger.c +++ b/src/empathy-debugger.c @@ -27,16 +27,20 @@ #include "empathy-debug-window.h" +#define EMPATHY_DEBUGGER_DBUS_NAME "org.gnome.Empathy.Debugger" + int main (int argc, char **argv) { GtkWidget *window; + GtkApplication *app; g_thread_init (NULL); - gtk_init (&argc, &argv); empathy_gtk_init (); + app = gtk_application_new (EMPATHY_DEBUGGER_DBUS_NAME, &argc, &argv); + g_set_application_name (_("Empathy Debugger")); gtk_window_set_default_icon_name ("empathy"); @@ -45,7 +49,8 @@ main (int argc, window = empathy_debug_window_new (NULL); g_signal_connect (window, "destroy", gtk_main_quit, NULL); - gtk_main (); + gtk_application_run (app); + g_object_unref (app); return EXIT_SUCCESS; } |