vte r2146 - in trunk: . src



Author: behdad
Date: Sun Nov 16 02:20:05 2008
New Revision: 2146
URL: http://svn.gnome.org/viewvc/vte?rev=2146&view=rev

Log:
2008-11-16  Behdad Esfahbod  <behdad gnome org>

        Bug 560991 â Unsetting background doesn't work

        * src/vte.c (vte_terminal_set_background_image): Correctly unset 
        background if image==NULL.



Modified:
   trunk/ChangeLog
   trunk/src/vte.c

Modified: trunk/src/vte.c
==============================================================================
--- trunk/src/vte.c	(original)
+++ trunk/src/vte.c	Sun Nov 16 02:20:05 2008
@@ -12553,7 +12553,7 @@
         object = G_OBJECT(terminal);
         pvt = terminal->pvt;
 
-        if (image == pvt->bg_pixbuf)
+        if (image && image == pvt->bg_pixbuf)
                 return;
 
 	_vte_debug_print(VTE_DEBUG_MISC,



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