Mercurial > geeqie.yaz
changeset 575:b941403a4cd9
Remove unused functions:
vflist_set_status_func()
vflist_set_thumb_status_func()
vflist_set_layout()
vficon_set_status_func()
vficon_set_thumb_status_func()
vficon_set_layout()
author | zas_ |
---|---|
date | Sun, 04 May 2008 19:00:39 +0000 |
parents | 3da75054d4e1 |
children | 9dc0513837b5 |
files | src/view_file_icon.c src/view_file_icon.h src/view_file_list.c src/view_file_list.h |
diffstat | 4 files changed, 0 insertions(+), 56 deletions(-) [+] |
line wrap: on
line diff
--- a/src/view_file_icon.c Sun May 04 18:45:06 2008 +0000 +++ b/src/view_file_icon.c Sun May 04 19:00:39 2008 +0000 @@ -2449,26 +2449,6 @@ return vf; } -void vficon_set_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gpointer data), gpointer data) -{ - vf->func_status = func; - vf->data_status = data; -} - -void vficon_set_thumb_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), - gpointer data) -{ - vf->func_thumb_status = func; - vf->data_thumb_status = data; -} - -void vficon_set_layout(ViewFile *vf, LayoutWindow *layout) -{ - vf->layout = layout; -} - /* *----------------------------------------------------------------------------- * maintenance (for rename, move, remove)
--- a/src/view_file_icon.h Sun May 04 18:45:06 2008 +0000 +++ b/src/view_file_icon.h Sun May 04 19:00:39 2008 +0000 @@ -22,14 +22,6 @@ void vficon_destroy_cb(GtkWidget *widget, gpointer data); ViewFile *vficon_new(ViewFile *vf, const gchar *path); -void vficon_set_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gpointer data), gpointer data); -void vficon_set_thumb_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), - gpointer data); - -void vficon_set_layout(ViewFile *vf, LayoutWindow *layout); - gint vficon_set_path(ViewFile *vf, const gchar *path); gint vficon_refresh(ViewFile *vf);
--- a/src/view_file_list.c Sun May 04 18:45:06 2008 +0000 +++ b/src/view_file_list.c Sun May 04 19:00:39 2008 +0000 @@ -2026,21 +2026,6 @@ return vf; } -void vflist_set_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gpointer data), gpointer data) -{ - vf->func_status = func; - vf->data_status = data; -} - -void vflist_set_thumb_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), - gpointer data) -{ - vf->func_thumb_status = func; - vf->data_thumb_status = data; -} - void vflist_thumb_set(ViewFile *vf, gint enable) { if (VFLIST_INFO(vf, thumbs_enabled) == enable) return; @@ -2074,11 +2059,6 @@ //vflist_refresh(vf); } -void vflist_set_layout(ViewFile *vf, LayoutWindow *layout) -{ - vf->layout = layout; -} - /* *----------------------------------------------------------------------------- * maintenance (for rename, move, remove)
--- a/src/view_file_list.h Sun May 04 18:45:06 2008 +0000 +++ b/src/view_file_list.h Sun May 04 19:00:39 2008 +0000 @@ -25,14 +25,6 @@ void vflist_destroy_cb(GtkWidget *widget, gpointer data); ViewFile *vflist_new(ViewFile *vf, const gchar *path); -void vflist_set_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gpointer data), gpointer data); -void vflist_set_thumb_status_func(ViewFile *vf, - void (*func)(ViewFile *vf, gdouble val, const gchar *text, gpointer data), - gpointer data); - -void vflist_set_layout(ViewFile *vf, LayoutWindow *layout); - gint vflist_set_path(ViewFile *vf, const gchar *path); gint vflist_refresh(ViewFile *vf);