Commit ef40fedb authored by Andrew Walton's avatar Andrew Walton Committed by Andrew Walton

Don't try to create a Cairo context for a NULL pixmap. Fixes bug #534226.

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.


svn path=/trunk/; revision=14203
parent 542f240b
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.
2008-05-27 Cosimo Cecchi <cosimoc@gnome.org>
* libnautilus-private/nautilus-dnd.c:
......
......@@ -1465,7 +1465,7 @@ drag_begin_callback (GtkWidget *widget,
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 */
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment