Commit 855a3a8d authored by Andy Hertzfeld's avatar Andy Hertzfeld
Browse files

fixed bug 2896, tiled backgrounds don't work in the icon view. The problem


	fixed bug 2896, tiled backgrounds don't work in the icon view.
	The problem was background_receive_dropped_background_image was
	passing the GtkSelectionData object, instead of the data it points
	to
parent 069f8b16
2000-09-07 Andy Hertzfeld <andy@eazel.com>
* libnautilus-extensions/nautilus-icon-dnd.c:
(receive_dropped_tile_image):
fixed bug 2896, tiled backgrounds don't work in the icon view.
nautilus_background_receive_dropped_background_image was passing the
GtkSelectionData object, instead of the data it points to. Mathieu
caused this when he reworked the drag and drop stuff recently.
2000-09-07 John Sullivan <sullivan@eazel.com>
Fixed bug 2218 (Duplicate items appear in history list)
......
......@@ -74,7 +74,7 @@ static void nautilus_icon_container_receive_dropped_icons (NautilusIconCo
GdkDragContext *context,
int x, int y);
static void receive_dropped_tile_image (NautilusIconContainer *container,
gpointer data);
GtkSelectionData *data);
static void receive_dropped_keyword (NautilusIconContainer *container,
char* keyword,
int x,
......@@ -537,11 +537,11 @@ nautilus_icon_container_selection_items_local (const NautilusIconContainer *cont
/* handle dropped tile images */
static void
receive_dropped_tile_image (NautilusIconContainer *container, gpointer data)
receive_dropped_tile_image (NautilusIconContainer *container, GtkSelectionData *data)
{
g_assert (data != NULL);
nautilus_background_receive_dropped_background_image
(nautilus_get_widget_background (GTK_WIDGET (container)), data);
(nautilus_get_widget_background (GTK_WIDGET (container)), data->data);
}
/* handle dropped keywords */
......
......@@ -74,7 +74,7 @@ static void nautilus_icon_container_receive_dropped_icons (NautilusIconCo
GdkDragContext *context,
int x, int y);
static void receive_dropped_tile_image (NautilusIconContainer *container,
gpointer data);
GtkSelectionData *data);
static void receive_dropped_keyword (NautilusIconContainer *container,
char* keyword,
int x,
......@@ -537,11 +537,11 @@ nautilus_icon_container_selection_items_local (const NautilusIconContainer *cont
/* handle dropped tile images */
static void
receive_dropped_tile_image (NautilusIconContainer *container, gpointer data)
receive_dropped_tile_image (NautilusIconContainer *container, GtkSelectionData *data)
{
g_assert (data != NULL);
nautilus_background_receive_dropped_background_image
(nautilus_get_widget_background (GTK_WIDGET (container)), data);
(nautilus_get_widget_background (GTK_WIDGET (container)), data->data);
}
/* handle dropped keywords */
......
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