gnome-nettool r806 - in trunk: . src



Author: gpoo
Date: Thu Dec  4 02:17:16 2008
New Revision: 806
URL: http://svn.gnome.org/viewvc/gnome-nettool?rev=806&view=rev

Log:
2008-12-03  German Poo-Caamano <gpoo gnome org>

	* src/callbacks.c: Fixed #560435.  Removed deprecated symbols
	  from glib (Maxim Ermilov).



Modified:
   trunk/ChangeLog
   trunk/NEWS
   trunk/src/callbacks.c

Modified: trunk/NEWS
==============================================================================
--- trunk/NEWS	(original)
+++ trunk/NEWS	Thu Dec  4 02:17:16 2008
@@ -2,6 +2,7 @@
 ---------------------------------
 
  - Removed warnings from the Glade UI (Diego Escalante)
+ - #560435: Removed deprecated symbols from glib (Maxim Ermilov)
  - #559852: Fixed unlocalized string in copyright (Claude Paroz)
  - #551754: Fixed unlocalized string in port scan (Takao Fujiwara)
  - #500773: Improved documentation metadata for library.gnome.org.

Modified: trunk/src/callbacks.c
==============================================================================
--- trunk/src/callbacks.c	(original)
+++ trunk/src/callbacks.c	Thu Dec  4 02:17:16 2008
@@ -233,7 +233,7 @@
 		text = g_strdup (gtk_entry_get_text (entry_host));
 		g_strstrip (text);
 
-		if (g_strcasecmp (text, "") != 0)
+		if (strlen(text) > 0)
 			gn_combo_history_add (finger->history, text);
 		
 		g_free (text);
@@ -243,7 +243,7 @@
 		text = g_strdup (gtk_entry_get_text (entry_host));
 		g_strstrip (text);
 		
-		if (g_strcasecmp (text, "") != 0)
+		if (strlen(text) > 0)
 			gn_combo_history_add (finger->history_user, text);
 		
 		g_free (text);



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