[ekiga] Changed a variable name to avoid a name class with unistd.h



commit 051db2f8956540750615be1db7fb70c029b60964
Author: Julien Puydt <jpuydt gnome org>
Date:   Mon Jun 28 07:47:10 2010 +0200

    Changed a variable name to avoid a name class with unistd.h
    
    link -> lnk

 lib/gui/gm-text-extlink.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lib/gui/gm-text-extlink.c b/lib/gui/gm-text-extlink.c
index e67883d..d240c42 100644
--- a/lib/gui/gm-text-extlink.c
+++ b/lib/gui/gm-text-extlink.c
@@ -105,15 +105,15 @@ enhancer_helper_enhance (GmTextBufferEnhancerHelperIFace* self,
 			 gint length)
 {
   GmTextExtlinkPrivate* priv = GM_TEXT_EXTLINK_GET_PRIVATE (self);
-  gchar* link = NULL;
+  gchar* lnk = NULL;
 
-  link = g_malloc0 (length + 1);
+  lnk = g_malloc0 (length + 1);
 
-  strncpy (link, full_text + *start, length);
+  strncpy (lnk, full_text + *start, length);
 
-  gtk_text_buffer_insert_with_tags (buffer, iter, link, length,
+  gtk_text_buffer_insert_with_tags (buffer, iter, lnk, length,
 				    priv->tag, NULL);
-  g_free (link);
+  g_free (lnk);
 
   *start = *start + length;
 }



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