empathy r976 - trunk/libempathy



Author: xclaesse
Date: Sat Apr 19 21:04:11 2008
New Revision: 976
URL: http://svn.gnome.org/viewvc/empathy?rev=976&view=rev

Log:
Little coding stype changes


Modified:
   trunk/libempathy/empathy-tube-handler.c

Modified: trunk/libempathy/empathy-tube-handler.c
==============================================================================
--- trunk/libempathy/empathy-tube-handler.c	(original)
+++ trunk/libempathy/empathy-tube-handler.c	Sat Apr 19 21:04:11 2008
@@ -33,8 +33,9 @@
 #include "empathy-tube-handler.h"
 #include "empathy-tubes.h"
 
-#define DEBUG_DOMAIN "EmpathyTubeHandler"
+#define DEBUG_DOMAIN "TubeHandler"
 
+static void empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass);
 
 enum
 {
@@ -42,7 +43,6 @@
   LAST_SIGNAL
 };
 
-static void empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass);
 static guint signals[LAST_SIGNAL];
 
 G_DEFINE_TYPE_WITH_CODE (EmpathyTubeHandler, empathy_tube_handler,
@@ -99,7 +99,6 @@
   return FALSE;
 }
 
-
 static void
 empathy_tube_handler_handle_tube (EmpSvcTubeHandler *self,
                                   const gchar *bus_name,
@@ -111,8 +110,9 @@
                                   DBusGMethodInvocation *context)
 {
   EmpathyTubeHandler *thandler = EMPATHY_TUBE_HANDLER (self);
-  IdleData *data = g_slice_new (IdleData);
+  IdleData *data;
 
+  data = g_slice_new (IdleData);
   data->thandler = thandler;
   data->bus_name = g_strdup (bus_name);
   data->connection = g_strdup (connection);
@@ -127,7 +127,6 @@
   emp_svc_tube_handler_return_from_handle_tube (context);
 }
 
-
 static void
 empathy_tube_handler_class_init (EmpathyTubeHandlerClass *klass)
 {
@@ -137,7 +136,6 @@
       G_TYPE_NONE, 1, EMPATHY_TYPE_TUBE);
 }
 
-
 static void
 empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass)
 {
@@ -145,13 +143,11 @@
       empathy_tube_handler_handle_tube);
 }
 
-
 static void
 empathy_tube_handler_init (EmpathyTubeHandler *thandler)
 {
 }
 
-
 EmpathyTubeHandler *
 empathy_tube_handler_new (const gchar *bus_name,
                           const gchar *object_path)
@@ -182,3 +178,4 @@
 
   return thandler;
 }
+



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