summaryrefslogtreecommitdiff
path: root/tests/interactive
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-14 11:59:31 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-11-14 15:37:22 +0100
commita12ee9fcdd35a1482b07da932b3af71a7f7d495c (patch)
treeadcdd2faefa90fad72efbb3f1522b6bb5c1ff3c2 /tests/interactive
parented8e51644481f3f9c2fb9059812bee49eabc423a (diff)
downloadempathy-a12ee9fcdd35a1482b07da932b3af71a7f7d495c.tar.gz
empathy-logs: port to TP coding style
https://bugzilla.gnome.org/show_bug.cgi?id=663873
Diffstat (limited to 'tests/interactive')
-rw-r--r--tests/interactive/empathy-logs.c32
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;
}
-