[gnome-mud] mud-connections: Use NULL instead of empty string when there is no char_name



commit d75af39510e6e8d1947a484a34ff417a1286d04a
Author: Mart Raudsepp <leio gentoo org>
Date:   Fri Jul 28 00:05:24 2017 +0300

    mud-connections: Use NULL instead of empty string when there is no char_name
    
    G_TYPE_STRING can handle it.

 src/mud-connections.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/mud-connections.c b/src/mud-connections.c
index 0cd0757..f43895a 100644
--- a/src/mud-connections.c
+++ b/src/mud-connections.c
@@ -705,7 +705,7 @@ mud_connections_populate_iconview(MudConnections *conn)
                     MODEL_COLUMN_STRING, name_strip,
                     MODEL_COLUMN_PIXBUF, icon,
                     MODEL_COLUMN_MUDNAME, mud_name,
-                    MODEL_COLUMN_CHARNAME, "",
+                    MODEL_COLUMN_CHARNAME, NULL,
                     -1);
 
             g_object_unref(icon);


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