gnome-terminal r2461 - trunk/src



Author: chpe
Date: Wed Mar 19 15:22:09 2008
New Revision: 2461
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2461&view=rev

Log:
There's really no need to print warnings when not being able to get the mnemonics setting, it's harmless.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Wed Mar 19 15:22:09 2008
@@ -1223,20 +1223,12 @@
   
   priv->conf = gconf_client_get_default ();
 
-  error = NULL;
   priv->notify_id =
     gconf_client_notify_add (priv->conf,
                              CONF_GLOBAL_PREFIX,
                              config_change_notify,
                              window,
-                             NULL, &error);
-  
-  if (error)
-    {
-      g_printerr (_("There was an error subscribing to notification of terminal window configuration changes. (%s)\n"),
-                  error->message);
-      g_error_free (error);
-    }
+                             NULL, NULL);
 
   error = NULL;
   use_mnemonics = gconf_client_get_bool (priv->conf,
@@ -1244,8 +1236,6 @@
                                          &error);
   if (error)
     {
-      g_printerr (_("There was an error loading config value for whether to use mnemonics. (%s)\n"),
-                  error->message);
       g_error_free (error);
       use_mnemonics = TRUE;
     }



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