comparison src/collect-dlg.c @ 1420:3a9fb1b52559

Use gboolean where applicable, for the sake of consistency.
author zas_
date Thu, 12 Mar 2009 21:06:37 +0000
parents 8b89e3ff286b
children 956aab097ea7
comparison
equal deleted inserted replaced
1419:c520cfd40aef 1420:3a9fb1b52559
28 DIALOG_LOAD, 28 DIALOG_LOAD,
29 DIALOG_APPEND 29 DIALOG_APPEND
30 }; 30 };
31 31
32 32
33 static gint collection_save_confirmed(FileDialog *fd, gint overwrite, CollectionData *cd); 33 static gboolean collection_save_confirmed(FileDialog *fd, gboolean overwrite, CollectionData *cd);
34 34
35 35
36 static void collection_confirm_ok_cb(GenericDialog *gd, gpointer data) 36 static void collection_confirm_ok_cb(GenericDialog *gd, gpointer data)
37 { 37 {
38 FileDialog *fd = data; 38 FileDialog *fd = data;
48 static void collection_confirm_cancel_cb(GenericDialog *gd, gpointer data) 48 static void collection_confirm_cancel_cb(GenericDialog *gd, gpointer data)
49 { 49 {
50 /* this is a no-op, so the cancel button is added */ 50 /* this is a no-op, so the cancel button is added */
51 } 51 }
52 52
53 static gint collection_save_confirmed(FileDialog *fd, gint overwrite, CollectionData *cd) 53 static gboolean collection_save_confirmed(FileDialog *fd, gboolean overwrite, CollectionData *cd)
54 { 54 {
55 gchar *buf; 55 gchar *buf;
56 56
57 if (isdir(fd->dest_path)) 57 if (isdir(fd->dest_path))
58 { 58 {