Commit f23b98f0 authored by Cosimo Cecchi's avatar Cosimo Cecchi

canvas-container: remove unused use_drop_shadows property

parent 3ab327b2
......@@ -3945,7 +3945,6 @@ style_updated (GtkWidget *widget)
NautilusCanvasContainer *container;
container = NAUTILUS_CANVAS_CONTAINER (widget);
container->details->use_drop_shadows = container->details->drop_shadows_requested;
/* Don't chain up to parent, if this is a desktop container,
* because that resets the background of the window.
......@@ -7483,19 +7482,6 @@ nautilus_canvas_container_set_margins (NautilusCanvasContainer *container,
schedule_redo_layout (container);
}
void
nautilus_canvas_container_set_use_drop_shadows (NautilusCanvasContainer *container,
gboolean use_drop_shadows)
{
if (container->details->drop_shadows_requested == use_drop_shadows) {
return;
}
container->details->drop_shadows_requested = use_drop_shadows;
container->details->use_drop_shadows = use_drop_shadows;
gtk_widget_queue_draw (GTK_WIDGET (container));
}
/* handle theme changes */
void
......
......@@ -313,8 +313,6 @@ void nautilus_canvas_container_set_margins (Nauti
int right_margin,
int top_margin,
int bottom_margin);
void nautilus_canvas_container_set_use_drop_shadows (NautilusCanvasContainer *container,
gboolean use_drop_shadows);
char* nautilus_canvas_container_get_icon_description (NautilusCanvasContainer *container,
NautilusCanvasIconData *data);
gboolean nautilus_canvas_container_get_allow_moves (NautilusCanvasContainer *container);
......
......@@ -237,10 +237,6 @@ struct NautilusCanvasContainerDetails {
int top_margin;
int bottom_margin;
/* Whether we should use drop shadows for the icon labels or not */
gboolean use_drop_shadows;
gboolean drop_shadows_requested;
/* a11y items used by canvas items */
guint a11y_item_action_idle_handler;
GQueue* a11y_item_action_queue;
......
......@@ -459,7 +459,6 @@ nautilus_desktop_canvas_view_init (NautilusDesktopCanvasView *desktop_canvas_vie
}
canvas_container = get_canvas_container (desktop_canvas_view);
nautilus_canvas_container_set_use_drop_shadows (canvas_container, TRUE);
nautilus_canvas_view_container_set_sort_desktop (NAUTILUS_CANVAS_VIEW_CONTAINER (canvas_container), TRUE);
/* Do a reload on the desktop if we don't have FAM, a smarter
......
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