nautilus r14203 - in trunk: . libnautilus-private



Author: awalton
Date: Tue May 27 23:56:07 2008
New Revision: 14203
URL: http://svn.gnome.org/viewvc/nautilus?rev=14203&view=rev

Log:
2008-05-27  A. Walton  <awalton gnome org>

	* libnautilus-private/nautilus-icon-dnd.c: 
(drag_begin_callback):
	Don't try to create a Cairo context for a NULL pixmap.
	Fixes bug #534226.



Modified:
   trunk/ChangeLog
   trunk/libnautilus-private/nautilus-icon-dnd.c

Modified: trunk/libnautilus-private/nautilus-icon-dnd.c
==============================================================================
--- trunk/libnautilus-private/nautilus-icon-dnd.c	(original)
+++ trunk/libnautilus-private/nautilus-icon-dnd.c	Tue May 27 23:56:07 2008
@@ -1465,7 +1465,7 @@
         x_offset = start_x - winx;
         y_offset = start_y - winy;
 
-	if (!use_mask) {
+	if (!use_mask && pixmap != NULL) {
 		cairo_t *cr;
 
 		/* If composite works, make the icons partially transparent */



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