gnome-terminal r2671 - trunk/src



Author: chpe
Date: Thu May 29 19:43:50 2008
New Revision: 2671
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2671&view=rev

Log:
Remove useless, unseen error message.


Modified:
   trunk/src/terminal-screen.c

Modified: trunk/src/terminal-screen.c
==============================================================================
--- trunk/src/terminal-screen.c	(original)
+++ trunk/src/terminal-screen.c	Thu May 29 19:43:50 2008
@@ -1960,22 +1960,9 @@
           {
             TerminalProfile *profile;
             char *filename;
-            GError *err;
-
-            err = NULL;
-            filename = g_filename_from_uri (uris[0],
-                                            NULL,
-                                            &err);
-            if (err)
-              {
-                g_printerr (_("Error converting URI \"%s\" into filename: %s\n"),
-                            uris[0], err->message);
-
-                g_error_free (err);
-              }
 
             profile = terminal_screen_get_profile (screen);
-            
+            filename = g_filename_from_uri (uris[0], NULL, NULL);
             if (filename && profile)
               {
                 g_object_set (profile,



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