diff src/bar_info.h @ 138:71e1ebee420e

replaced gchar* path with FileData *fd
author nadvornik
date Tue, 11 Sep 2007 20:06:29 +0000
parents d907d608745f
children 0584cb78aa14
line wrap: on
line diff
--- a/src/bar_info.h	Thu Aug 23 20:45:59 2007 +0000
+++ b/src/bar_info.h	Tue Sep 11 20:06:29 2007 +0000
@@ -14,10 +14,10 @@
 #define BAR_INFO_H
 
 
-GtkWidget *bar_info_new(const gchar *path, gint metadata_only, GtkWidget *bounding_widget);
+GtkWidget *bar_info_new(FileData *fd, gint metadata_only, GtkWidget *bounding_widget);
 void bar_info_close(GtkWidget *bar);
 
-void bar_info_set(GtkWidget *bar, const gchar *path);
+void bar_info_set(GtkWidget *bar, FileData *fd);
 gint bar_info_event(GtkWidget *bar, GdkEvent *event);
 
 void bar_info_set_selection_func(GtkWidget *bar, GList *(*list_func)(gpointer data), gpointer data);
@@ -25,13 +25,13 @@
 
 void bar_info_size_request(GtkWidget *bar, gint width);
 
-void bar_info_maint_renamed(GtkWidget *bar, const gchar *path);
+void bar_info_maint_renamed(GtkWidget *bar, FileData *fd);
 
-gint comment_write(const gchar *path, GList *keywords, const gchar *comment);
-gint comment_cache_write(const gchar *path, GList *keywords, const gchar *comment);
+gint comment_write(gchar *path, GList *keywords, const gchar *comment);
+gint comment_cache_write(FileData *fd, GList *keywords, const gchar *comment);
 
-gint comment_read(const gchar *path, GList **keywords, gchar **comment);
-gint comment_cache_read(const gchar *path, GList **keywords, gchar **comment);
+gint comment_read(gchar *path, GList **keywords, gchar **comment);
+gint comment_cache_read(FileData *fd, GList **keywords, gchar **comment);
 
 GList *keyword_list_pull(GtkWidget *text_widget);
 void keyword_list_push(GtkWidget *textview, GList *list);