gnome-terminal r2668 - trunk/src
- From: chpe svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-terminal r2668 - trunk/src
- Date: Thu, 29 May 2008 19:43:35 +0000 (UTC)
Author: chpe
Date: Thu May 29 19:43:35 2008
New Revision: 2668
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2668&view=rev
Log:
Tiny code style fix.
Modified:
   trunk/src/terminal-profile.c
Modified: trunk/src/terminal-profile.c
==============================================================================
--- trunk/src/terminal-profile.c	(original)
+++ trunk/src/terminal-profile.c	Thu May 29 19:43:35 2008
@@ -727,10 +727,7 @@
       const char *str;
 
       str = g_value_get_string (value);
-      if (!str)
-        str = "";
-    
-      gconf_change_set_set_string (changeset, key, str);
+      gconf_change_set_set_string (changeset, key, str ? str : "");
     }
   else if (G_IS_PARAM_SPEC_ENUM (pspec))
     {
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]