Don't repeat a tooltip format string
[empathy-mirror.git] / src / empathy-logs.c
blobb9f38e0e7faabba9993193c3492a7eaf5b015f8e
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
2 /*
3 * Copyright (C) 2008 Collabora Ltd.
5 * This program is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU General Public License as
7 * published by the Free Software Foundation; either version 2 of the
8 * License, or (at your option) any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * General Public License for more details.
15 * You should have received a copy of the GNU General Public
16 * License along with this program; if not, write to the
17 * Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
18 * Boston, MA 02110-1301 USA
20 * Authors: Xavier Claessens <xclaesse@gmail.com>
23 #include <config.h>
24 #include <stdlib.h>
25 #include <glib.h>
26 #include <gtk/gtk.h>
28 #include <libempathy/empathy-debug.h>
29 #include <libempathy-gtk/empathy-log-window.h>
30 #include <libempathy-gtk/empathy-ui-utils.h>
32 static void
33 destroy_cb (GtkWidget *dialog,
34 gpointer user_data)
36 gtk_main_quit ();
39 int
40 main (int argc, char *argv[])
42 GtkWidget *window;
44 g_thread_init (NULL);
45 gtk_init (&argc, &argv);
46 empathy_gtk_init ();
47 g_set_application_name (PACKAGE_NAME);
48 gtk_window_set_default_icon_name ("empathy");
50 window = empathy_log_window_show (NULL, NULL, FALSE, NULL);
52 g_signal_connect (window, "destroy",
53 G_CALLBACK (destroy_cb),
54 NULL);
56 gtk_main ();
58 return EXIT_SUCCESS;