gnome-terminal r2496 - trunk/src



Author: chpe
Date: Wed Mar 19 18:14:16 2008
New Revision: 2496
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2496&view=rev

Log:
Remove debug spew.


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 18:14:16 2008
@@ -1315,7 +1315,11 @@
   priv->ui_id = gtk_ui_manager_add_ui_from_file (manager,
                                                  TERM_PKGDATADIR "/terminal.ui",
                                                  &error);
-  if (error)g_print ("Error! %s\n", error->message);
+  if (error)
+    {
+      g_printerr ("Failed to load UI: %s\n", error->message);
+      g_error_free (error);
+    }
 
   priv->menubar = gtk_ui_manager_get_widget (manager, "/menubar");
   gtk_box_pack_start (GTK_BOX (main_vbox),
@@ -1351,7 +1355,6 @@
   object_class->dispose = terminal_window_dispose;
   object_class->finalize = terminal_window_finalize;
 
-  g_print ("window class init\n");
   widget_class->show = terminal_window_show;
   widget_class->window_state_event = terminal_window_state_event;
   widget_class->screen_changed = terminal_window_screen_changed;



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