Mercurial > geeqie
diff src/layout.c @ 442:4b2d7f9af171
Big whitespaces cleanup:
- drop whitespaces at end of lines
- convert eight spaces to tab at start of lines
- drop spurious spaces mixed with tabs
- remove empty lines at end of files
author | zas_ |
---|---|
date | Sun, 20 Apr 2008 13:04:57 +0000 |
parents | 5ddcf93278c7 |
children | 48c8e49b571c |
line wrap: on
line diff
--- a/src/layout.c Sun Apr 20 10:05:27 2008 +0000 +++ b/src/layout.c Sun Apr 20 13:04:57 2008 +0000 @@ -96,7 +96,7 @@ work = work->next; if (lw->image->image_fd == imd->image_fd) return lw; - + } return NULL; @@ -124,7 +124,7 @@ layout_set_path(lw, buf); - g_free(buf); + g_free(buf); } static void layout_path_entry_tab_cb(const gchar *path, gpointer data) @@ -269,7 +269,7 @@ g_object_ref_sink(G_OBJECT(menu)); #endif - /* ascending option */ + /* ascending option */ menu_item_add_divider(menu); menu_item_add_check(menu, _("Ascending"), lw->sort_ascend, G_CALLBACK(layout_sort_menu_ascend_cb), lw); @@ -295,11 +295,11 @@ GtkWidget *button; button = gtk_button_new_with_label(sort_type_get_text(lw->sort_method)); - g_signal_connect(G_OBJECT(button), "clicked", + g_signal_connect(G_OBJECT(button), "clicked", G_CALLBACK(layout_sort_button_press_cb), lw); - gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); + gtk_button_set_relief(GTK_BUTTON(button), GTK_RELIEF_NONE); - return button; + return button; } /* @@ -755,7 +755,7 @@ vflist_set_thumb_status_func(lw->vfl, layout_list_thumb_cb, lw); vflist_marks_set(lw->vfl, lw->marks_enabled); - + return lw->vfl->widget; } @@ -913,7 +913,7 @@ if (lw->vfl) vflist_selection_to_mark(lw->vfl, mark, mode); if (lw->vfi) vficon_selection_to_mark(lw->vfi, mark, mode); - + layout_status_update_info(lw, NULL); /* osd in fullscreen mode */ } @@ -1350,7 +1350,7 @@ gtk_window_set_resizable(GTK_WINDOW(lw->tools), TRUE); gtk_container_set_border_width(GTK_CONTAINER(lw->tools), 0); - + new_window = TRUE; } else @@ -1486,7 +1486,7 @@ if (lw->split_images[i]) { gtk_widget_hide(lw->split_images[i]->widget); - if (lw->split_images[i]->widget->parent != lw->utility_box) + if (lw->split_images[i]->widget->parent != lw->utility_box) gtk_container_remove(GTK_CONTAINER(lw->split_images[i]->widget->parent), lw->split_images[i]->widget); } } @@ -1520,7 +1520,7 @@ priority_location = layout_grid_compass(lw); image = layout_image_setup_split(lw, lw->split_mode); - + tools = layout_tools_new(lw); files = layout_list_new(lw); @@ -1725,7 +1725,7 @@ { LayoutWindow *lw = work->data; work = work->next; - + if (!lw->image) continue; image_background_set_color(lw->image, options->image.use_custom_border_color ? &options->image.border_color : NULL); } @@ -1857,7 +1857,7 @@ layout_bars_close(lw); gtk_widget_destroy(lw->window); - + histogram_free(lw->histogram); g_free(lw->path);