diff options
author | Cosimo Cecchi <cosimoc@gnome.org> | 2009-05-18 23:53:55 +0800 |
---|---|---|
committer | Cosimo Cecchi <cosimoc@gnome.org> | 2009-06-01 23:53:21 +0800 |
commit | 3b1865b52e8d45c1387176d5c08b8a3441d50a50 (patch) | |
tree | 1490ff4649be2f4a1a0a5da734a57f9ea814c994 /libempathy/empathy-tp-file.c | |
parent | 21d0796aaa90612dd499da0d74ac9200bd448393 (diff) | |
download | gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar.gz gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar.bz2 gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar.lz gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar.xz gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.tar.zst gsoc2013-empathy-3b1865b52e8d45c1387176d5c08b8a3441d50a50.zip |
Fix coding style
Diffstat (limited to 'libempathy/empathy-tp-file.c')
-rw-r--r-- | libempathy/empathy-tp-file.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/libempathy/empathy-tp-file.c b/libempathy/empathy-tp-file.c index 6a2887251..bf9a6da20 100644 --- a/libempathy/empathy-tp-file.c +++ b/libempathy/empathy-tp-file.c @@ -290,7 +290,7 @@ static GError * error_from_state_change_reason (TpFileTransferStateChangeReason reason) { const char *string; - GError *retval; + GError *retval = NULL; string = NULL; @@ -333,7 +333,7 @@ tp_file_state_changed_cb (TpChannel *proxy, GObject *weak_object) { EmpathyTpFilePriv *priv = GET_PRIV (weak_object); - GError *error; + GError *error = NULL; if (state == priv->state) return; @@ -526,7 +526,7 @@ channel_closed_cb (TpChannel *proxy, if (priv->cancellable != NULL && !g_cancellable_is_cancelled (priv->cancellable) && cancel) - g_cancellable_cancel (priv->cancellable); + g_cancellable_cancel (priv->cancellable); } static void @@ -655,7 +655,7 @@ do_constructor (GType type, file_obj = G_OBJECT_CLASS (empathy_tp_file_parent_class)->constructor (type, n_props, props); - + tp_file = EMPATHY_TP_FILE (file_obj); priv = GET_PRIV (tp_file); @@ -856,7 +856,7 @@ empathy_tp_file_is_incoming (EmpathyTpFile *tp_file) EmpathyTpFilePriv *priv; g_return_val_if_fail (EMPATHY_IS_TP_FILE (tp_file), FALSE); - + priv = GET_PRIV (tp_file); return priv->incoming; |