# HG changeset patch # User zas_ # Date 1209927639 0 # Node ID b941403a4cd9892200a7b53fdca0b10b77f0f824 # Parent 3da75054d4e1fdc30881c006cf7197317acd1708 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() diff -r 3da75054d4e1 -r b941403a4cd9 src/view_file_icon.c --- 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) diff -r 3da75054d4e1 -r b941403a4cd9 src/view_file_icon.h --- 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); diff -r 3da75054d4e1 -r b941403a4cd9 src/view_file_list.c --- 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) diff -r 3da75054d4e1 -r b941403a4cd9 src/view_file_list.h --- 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);