diff options
author | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-20 05:04:11 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2008-04-20 05:04:11 +0800 |
commit | f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe (patch) | |
tree | 46c3d358a9f8478057df0c6db5d8a282b977dd3d | |
parent | 148ed22e05d4008fc8893a3d025a4cae5245fb3e (diff) | |
download | gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar.gz gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar.bz2 gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar.lz gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar.xz gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.tar.zst gsoc2013-empathy-f92e9e7581e91262af1fd3f7aeaeadfd3777e4fe.zip |
Little coding stype changes
svn path=/trunk/; revision=976
-rw-r--r-- | libempathy/empathy-tube-handler.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/libempathy/empathy-tube-handler.c b/libempathy/empathy-tube-handler.c index 88095fecc..8138147ef 100644 --- a/libempathy/empathy-tube-handler.c +++ b/libempathy/empathy-tube-handler.c @@ -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 @@ enum 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 @@ empathy_tube_handler_handle_tube_idle_cb (gpointer data) return FALSE; } - static void empathy_tube_handler_handle_tube (EmpSvcTubeHandler *self, const gchar *bus_name, @@ -111,8 +110,9 @@ empathy_tube_handler_handle_tube (EmpSvcTubeHandler *self, 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 @@ empathy_tube_handler_handle_tube (EmpSvcTubeHandler *self, emp_svc_tube_handler_return_from_handle_tube (context); } - static void empathy_tube_handler_class_init (EmpathyTubeHandlerClass *klass) { @@ -137,7 +136,6 @@ empathy_tube_handler_class_init (EmpathyTubeHandlerClass *klass) G_TYPE_NONE, 1, EMPATHY_TYPE_TUBE); } - static void empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass) { @@ -145,13 +143,11 @@ empathy_tube_handler_iface_init (EmpSvcTubeHandlerClass *klass) 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 @@ empathy_tube_handler_new (const gchar *bus_name, return thandler; } + |