[Telepathy-commits] [telepathy-salut/master] Renamed G_STR_EMPTY to CHECK_STR_EMPTY.

Jonny Lamb jonny.lamb at collabora.co.uk
Fri Nov 21 03:46:27 PST 2008


Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>
---
 src/salut-file-channel.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/salut-file-channel.c b/src/salut-file-channel.c
index ffa99cc..6888057 100644
--- a/src/salut-file-channel.c
+++ b/src/salut-file-channel.c
@@ -62,7 +62,7 @@ G_DEFINE_TYPE_WITH_CODE (SalutFileChannel, salut_file_channel, G_TYPE_OBJECT,
                            file_transfer_iface_init);
 );
 
-#define G_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')
+#define CHECK_STR_EMPTY(x) ((x) == NULL || (x)[0] == '\0')
 
 #define SALUT_UNDEFINED_FILE_SIZE G_MAXUINT64
 
@@ -987,7 +987,7 @@ salut_file_channel_offer_file (SalutSvcChannelTypeFile *iface,
       return;
     }
 
-  if (G_STR_EMPTY (channel->priv->content_type))
+  if (CHECK_STR_EMPTY (channel->priv->content_type))
     {
       DEBUG ("ContentType property not set");
       g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
@@ -996,7 +996,7 @@ salut_file_channel_offer_file (SalutSvcChannelTypeFile *iface,
       return;
     }
 
-  if (G_STR_EMPTY (channel->priv->filename))
+  if (CHECK_STR_EMPTY (channel->priv->filename))
     {
       DEBUG ("Filename property not set");
       g_set_error (&error, TP_ERRORS, TP_ERROR_NOT_AVAILABLE,
-- 
1.5.6.5




More information about the Telepathy-commits mailing list