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>
27 #include <libempathy/empathy-debug.h>
28 #include <libempathy/empathy-utils.h>
29 #include <libempathy-gtk/empathy-log-window.h>
30 #include <libempathy-gtk/empathy-ui-utils.h>
33 destroy_cb (GtkWidget *dialog,
40 account_manager_prepare_cb (GObject *source,
47 tp_proxy_prepare_finish (source, result, &error);
48 g_assert_no_error (error);
50 window = empathy_log_window_show (NULL, NULL, FALSE, NULL);
52 g_signal_connect (window, "destroy", G_CALLBACK (destroy_cb), NULL);
59 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);