empathy-logs: port to TP coding style
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 14 Nov 2011 10:59:31 +0000 (11:59 +0100)
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>
Mon, 14 Nov 2011 14:37:22 +0000 (15:37 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=663873

tests/interactive/empathy-logs.c

index b9f38e0e7faabba9993193c3492a7eaf5b015f8e..4ed67d5d17a7e53d7ed3aafe16e11f7670dd43a2 100644 (file)
@@ -1,4 +1,3 @@
-/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * Copyright (C) 2008 Collabora Ltd.
  *
 #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;
 }
-