gint row;
} ViewFileFindRowData;
-static gboolean vflist_find_row_cb(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
+static gboolean vflist_find_row_cb(GtkTreeModel *model, GtkTreePath *UNUSED(path), GtkTreeIter *iter, gpointer data)
{
ViewFileFindRowData *find = data;
FileData *fd;
return -1;
}
-static FileData *vflist_find_data_by_coord(ViewFile *vf, gint x, gint y, GtkTreeIter *iter)
+static FileData *vflist_find_data_by_coord(ViewFile *vf, gint x, gint y, GtkTreeIter *UNUSED(iter))
{
GtkTreePath *tpath;
GtkTreeViewColumn *column;
return NULL;
}
-static gboolean vflist_store_clear_cb(GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data)
+static gboolean vflist_store_clear_cb(GtkTreeModel *model, GtkTreePath *UNUSED(path), GtkTreeIter *iter, gpointer UNUSED(data))
{
FileData *fd;
gtk_tree_model_get(model, iter, FILE_COLUMN_POINTER, &fd, -1);
*-----------------------------------------------------------------------------
*/
-static void vflist_dnd_get(GtkWidget *widget, GdkDragContext *context,
- GtkSelectionData *selection_data, guint info,
- guint time, gpointer data)
+static void vflist_dnd_get(GtkWidget *UNUSED(widget), GdkDragContext *UNUSED(context),
+ GtkSelectionData *selection_data, guint UNUSED(info),
+ guint UNUSED(time), gpointer data)
{
ViewFile *vf = data;
GList *list = NULL;
}
}
-static void vflist_dnd_end(GtkWidget *widget, GdkDragContext *context, gpointer data)
+static void vflist_dnd_end(GtkWidget *UNUSED(widget), GdkDragContext *context, gpointer data)
{
ViewFile *vf = data;
}
}
-static void vflist_drag_data_received(GtkWidget *entry_widget, GdkDragContext *context,
+static void vflist_drag_data_received(GtkWidget *UNUSED(entry_widget), GdkDragContext *UNUSED(context),
int x, int y, GtkSelectionData *selection,
- guint info, guint time, gpointer data)
+ guint info, guint UNUSED(time), gpointer data)
{
ViewFile *vf = data;
}
-void vflist_pop_menu_view_cb(GtkWidget *widget, gpointer data)
+void vflist_pop_menu_view_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
}
}
-void vflist_pop_menu_rename_cb(GtkWidget *widget, gpointer data)
+void vflist_pop_menu_rename_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
GList *list;
file_util_rename(NULL, list, vf->listview);
}
-void vflist_pop_menu_thumbs_cb(GtkWidget *widget, gpointer data)
+void vflist_pop_menu_thumbs_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
g_list_free(columns);
}
-void vflist_pop_menu_show_star_rating_cb(GtkWidget *widget, gpointer data)
+void vflist_pop_menu_show_star_rating_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
vflist_star_rating_set(vf, options->show_star_rating);
}
-void vflist_pop_menu_refresh_cb(GtkWidget *widget, gpointer data)
+void vflist_pop_menu_refresh_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
gtk_tree_view_columns_autosize(GTK_TREE_VIEW(vf->listview));
}
-void vflist_popup_destroy_cb(GtkWidget *widget, gpointer data)
+void vflist_popup_destroy_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
vflist_color_set(vf, VFLIST(vf)->click_fd, FALSE);
*-----------------------------------------------------------------------------
*/
-static gboolean vflist_row_rename_cb(TreeEditData *td, const gchar *old, const gchar *new, gpointer data)
+static gboolean vflist_row_rename_cb(TreeEditData *UNUSED(td), const gchar *old, const gchar *new, gpointer data)
{
ViewFile *vf = data;
gchar *new_path;
return FALSE;
}
-static void vflist_menu_position_cb(GtkMenu *menu, gint *x, gint *y, gboolean *push_in, gpointer data)
+static void vflist_menu_position_cb(GtkMenu *menu, gint *x, gint *y, gboolean *UNUSED(push_in), gpointer data)
{
ViewFile *vf = data;
GtkTreeModel *store;
}
}
-static gboolean vflist_select_cb(GtkTreeSelection *selection, GtkTreeModel *store, GtkTreePath *tpath,
- gboolean path_currently_selected, gpointer data)
+static gboolean vflist_select_cb(GtkTreeSelection *UNUSED(selection), GtkTreeModel *store, GtkTreePath *tpath, gboolean path_currently_selected, gpointer data)
{
ViewFile *vf = data;
GtkTreeIter iter;
return TRUE;
}
-static void vflist_expand_cb(GtkTreeView *tree_view, GtkTreeIter *iter, GtkTreePath *path, gpointer data)
+static void vflist_expand_cb(GtkTreeView *UNUSED(tree_view), GtkTreeIter *iter, GtkTreePath *UNUSED(path), gpointer data)
{
ViewFile *vf = data;
vflist_set_expanded(vf, iter, TRUE);
}
-static void vflist_collapse_cb(GtkTreeView *tree_view, GtkTreeIter *iter, GtkTreePath *path, gpointer data)
+static void vflist_collapse_cb(GtkTreeView *UNUSED(tree_view), GtkTreeIter *iter, GtkTreePath *UNUSED(path), gpointer data)
{
ViewFile *vf = data;
vflist_set_expanded(vf, iter, FALSE);
return &color;
}
-static void vflist_listview_color_cb(GtkTreeViewColumn *tree_column, GtkCellRenderer *cell,
+static void vflist_listview_color_cb(GtkTreeViewColumn *UNUSED(tree_column), GtkCellRenderer *cell,
GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data)
{
ViewFile *vf = data;
return ret;
}
-void vflist_destroy_cb(GtkWidget *widget, gpointer data)
+void vflist_destroy_cb(GtkWidget *UNUSED(widget), gpointer data)
{
ViewFile *vf = data;
filelist_free(vf->list);
}
-ViewFile *vflist_new(ViewFile *vf, FileData *dir_fd)
+ViewFile *vflist_new(ViewFile *vf, FileData *UNUSED(dir_fd))
{
GtkTreeStore *store;
GtkTreeSelection *selection;