From: Ben Pfaff Date: Sun, 10 Apr 2011 16:52:31 +0000 (-0700) Subject: gui: psppire-var-view: Change "" to null string. X-Git-Tag: v0.7.8~75 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=341a9f5aca8bdd4105aa12295757daebeb528a44;p=pspp-builds.git gui: psppire-var-view: Change "" to null string. Commit 0cb2b9c42 caused NULL variables to be displayed as "". This commit changes that to the empty string, which doesn't require translation and is equally clear. Suggested by John Darrington . --- diff --git a/src/ui/gui/psppire-var-view.c b/src/ui/gui/psppire-var-view.c index a840539d..76130c04 100644 --- a/src/ui/gui/psppire-var-view.c +++ b/src/ui/gui/psppire-var-view.c @@ -141,7 +141,7 @@ display_cell_var_name (GtkTreeViewColumn *tree_column, g_value_unset (&value); - g_object_set (cell, "text", var ? var_get_name (var) : "", NULL); + g_object_set (cell, "text", var ? var_get_name (var) : "", NULL); }