general: Fix some details from the desktop removal

Basically unused vars, etc.
parent 366115d9
Pipeline #1783 failed with stage
......@@ -250,15 +250,11 @@ icon_set_position (NautilusCanvasIcon *icon,
double x,
double y)
{
NautilusCanvasContainer *container;
if (icon->x == x && icon->y == y)
{
return;
}
container = NAUTILUS_CANVAS_CONTAINER (EEL_CANVAS_ITEM (icon->item)->canvas);
if (icon->x == ICON_UNPOSITIONED_VALUE)
{
icon->x = 0;
......
......@@ -897,7 +897,7 @@ handle_nonlocal_move (NautilusCanvasContainer *container,
gboolean icon_hit)
{
GList *source_uris, *p;
gboolean free_target_uri, is_rtl;
gboolean free_target_uri;
if (container->details->dnd_info->drag_info.selection_list == NULL)
{
......@@ -912,8 +912,6 @@ handle_nonlocal_move (NautilusCanvasContainer *container,
}
source_uris = g_list_reverse (source_uris);
is_rtl = nautilus_canvas_container_is_layout_rtl (container);
free_target_uri = FALSE;
/* start the copy */
......
......@@ -523,7 +523,6 @@ static void
nautilus_canvas_view_begin_loading (NautilusFilesView *view)
{
NautilusCanvasView *canvas_view;
GtkWidget *canvas_container;
NautilusFile *file;
char *uri;
const SortCriterion *sort;
......@@ -533,7 +532,6 @@ nautilus_canvas_view_begin_loading (NautilusFilesView *view)
canvas_view = NAUTILUS_CANVAS_VIEW (view);
file = nautilus_files_view_get_directory_as_file (view);
uri = nautilus_file_get_uri (file);
canvas_container = GTK_WIDGET (get_canvas_container (canvas_view));
g_free (uri);
......
......@@ -1212,8 +1212,8 @@ do_run_simple_dialog (gpointer _data)
if (data->details_text)
{
GtkWidget *content_area, *label;
content_area = gtk_message_dialog_get_message_area (dialog);
GtkWidget *content_area, *label;
content_area = gtk_message_dialog_get_message_area (GTK_MESSAGE_DIALOG (dialog));
label = gtk_label_new (data->details_text);
gtk_label_set_line_wrap (GTK_LABEL (label), TRUE);
......
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