[empathy/gnome-3-2] empathy-logs: port to TP coding style



commit 80053e129b08aa560c36e78efec1b95ca146620b
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Mon Nov 14 11:59:31 2011 +0100

    empathy-logs: port to TP coding style
    
    https://bugzilla.gnome.org/show_bug.cgi?id=663873

 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 b9f38e0..4ed67d5 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;
 }
-



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]