diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-14 18:59:31 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-11-14 22:38:03 +0800 |
commit | 80053e129b08aa560c36e78efec1b95ca146620b (patch) | |
tree | 606b24d92721f89f3b62fdaebfc0dc91efa32680 | |
parent | eed898111783f9a3c9a94a1831efe23c7614fd87 (diff) | |
download | gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar.gz gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar.bz2 gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar.lz gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar.xz gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.tar.zst gsoc2013-empathy-80053e129b08aa560c36e78efec1b95ca146620b.zip |
empathy-logs: port to TP coding style
https://bugzilla.gnome.org/show_bug.cgi?id=663873
-rw-r--r-- | tests/interactive/empathy-logs.c | 32 |
1 files changed, 15 insertions, 17 deletions
diff --git a/tests/interactive/empathy-logs.c b/tests/interactive/empathy-logs.c index b9f38e0e7..4ed67d5d1 100644 --- a/tests/interactive/empathy-logs.c +++ b/tests/interactive/empathy-logs.c @@ -1,4 +1,3 @@ -/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */ /* * Copyright (C) 2008 Collabora Ltd. * @@ -26,35 +25,34 @@ #include <gtk/gtk.h> #include <libempathy/empathy-debug.h> +#include <libempathy/empathy-utils.h> #include <libempathy-gtk/empathy-log-window.h> #include <libempathy-gtk/empathy-ui-utils.h> static void destroy_cb (GtkWidget *dialog, - gpointer user_data) + gpointer user_data) { - gtk_main_quit (); + gtk_main_quit (); } int -main (int argc, char *argv[]) +main (int argc, + char *argv[]) { - GtkWidget *window; + GtkWidget *window; - g_thread_init (NULL); - gtk_init (&argc, &argv); - empathy_gtk_init (); - g_set_application_name (PACKAGE_NAME); - gtk_window_set_default_icon_name ("empathy"); + g_thread_init (NULL); + gtk_init (&argc, &argv); + empathy_gtk_init (); + g_set_application_name (PACKAGE_NAME); + gtk_window_set_default_icon_name ("empathy"); - window = empathy_log_window_show (NULL, NULL, FALSE, NULL); + window = empathy_log_window_show (NULL, NULL, FALSE, NULL); - g_signal_connect (window, "destroy", - G_CALLBACK (destroy_cb), - NULL); + g_signal_connect (window, "destroy", G_CALLBACK (destroy_cb), NULL); - gtk_main (); + gtk_main (); - return EXIT_SUCCESS; + return EXIT_SUCCESS; } - |