gnome-terminal r2846 - trunk/src



Author: chpe
Date: Fri May 30 10:56:36 2008
New Revision: 2846
URL: http://svn.gnome.org/viewvc/gnome-terminal?rev=2846&view=rev

Log:
Init the screen variable. Bug #535717.


Modified:
   trunk/src/terminal-window.c

Modified: trunk/src/terminal-window.c
==============================================================================
--- trunk/src/terminal-window.c	(original)
+++ trunk/src/terminal-window.c	Fri May 30 10:56:36 2008
@@ -1191,7 +1191,8 @@
   if (screen_changed)
     screen_changed (widget, previous_screen);
 
-  if (previous_screen == gtk_widget_get_screen (widget))
+  screen = gtk_widget_get_screen (widget);
+  if (previous_screen == screen)
     return;
 
   if (previous_screen)



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