Mercurial > geeqie
changeset 490:2b85ad4c59bd
Remove unused function bar_info_size_request().
author | zas_ |
---|---|
date | Tue, 22 Apr 2008 22:45:51 +0000 |
parents | 3809ffa3567b |
children | 4a9570cd06f8 |
files | src/bar_info.c src/bar_info.h |
diffstat | 2 files changed, 0 insertions(+), 16 deletions(-) [+] |
line wrap: on
line diff
--- a/src/bar_info.c Tue Apr 22 22:44:10 2008 +0000 +++ b/src/bar_info.c Tue Apr 22 22:45:51 2008 +0000 @@ -1360,17 +1360,3 @@ gtk_widget_set_sensitive(bd->button_set_add, enable); gtk_widget_set_sensitive(bd->button_set_replace, enable); } - -void bar_info_size_request(GtkWidget *bar, gint width) -{ - BarInfoData *bd; - - bd = g_object_get_data(G_OBJECT(bar), "bar_info_data"); - if (!bd) return; - - if (bd->label_file_name) - { - gtk_widget_set_size_request(bd->vbox, width, -1); - options->panels.info.width = bd->vbox->allocation.width; - } -}
--- a/src/bar_info.h Tue Apr 22 22:44:10 2008 +0000 +++ b/src/bar_info.h Tue Apr 22 22:45:51 2008 +0000 @@ -24,8 +24,6 @@ void bar_info_set_selection_func(GtkWidget *bar, GList *(*list_func)(gpointer data), gpointer data); void bar_info_selection(GtkWidget *bar, gint count); -void bar_info_size_request(GtkWidget *bar, gint width); - void bar_info_maint_renamed(GtkWidget *bar, FileData *fd); gint comment_write(FileData *fd, GList *keywords, const gchar *comment);