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:37:22 +0800 |
commit | a12ee9fcdd35a1482b07da932b3af71a7f7d495c (patch) | |
tree | adcdd2faefa90fad72efbb3f1522b6bb5c1ff3c2 | |
parent | ed8e51644481f3f9c2fb9059812bee49eabc423a (diff) | |
download | gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.gz gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.bz2 gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.lz gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.xz gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.zst gsoc2013-empathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.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; } - |