2 * Copyright (C) 2008 Collabora Ltd.
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License as
6 * published by the Free Software Foundation; either version 2 of the
7 * License, or (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * General Public License for more details.
14 * You should have received a copy of the GNU General Public
15 * License along with this program; if not, write to the
16 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
17 * Boston, MA 02110-1301 USA
19 * Authors: Xavier Claessens <xclaesse@gmail.com>
28 #include "empathy-debug.h"
29 #include "empathy-log-window.h"
30 #include "empathy-ui-utils.h"
31 #include "empathy-utils.h"
34 destroy_cb (GtkWidget *dialog,
41 account_manager_prepare_cb (GObject *source,
48 tp_proxy_prepare_finish (source, result, &error);
49 g_assert_no_error (error);
51 window = empathy_log_window_show (NULL, NULL, FALSE, NULL);
53 g_signal_connect (window, "destroy", G_CALLBACK (destroy_cb), NULL);
60 TpAccountManager *mgr;
62 gtk_init (&argc, &argv);
64 g_set_application_name (PACKAGE_NAME);
65 gtk_window_set_default_icon_name ("empathy");
67 mgr = tp_account_manager_dup ();
69 tp_proxy_prepare_async (mgr, NULL, account_manager_prepare_cb, NULL);