gnome-terminal r2772 - trunk/src



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

Log:
Don't create the icon title twice.


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:52:47 2008
@@ -830,16 +830,9 @@
 terminal_screen_cook_icon_title (TerminalScreen *screen)
 {
   TerminalScreenPrivate *priv = screen->priv;
-  GObject *object = G_OBJECT (screen);      
-  
-  g_object_freeze_notify (object);
-
-  cook_title (screen, priv->raw_icon_title, &priv->cooked_icon_title);
 
   if (cook_title (screen, priv->raw_icon_title, &priv->cooked_icon_title))
     g_object_notify (G_OBJECT (screen), "icon-title");
-  
-  g_object_thaw_notify (object);
 }
 
 static void



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