diff options
Diffstat (limited to 'camlibs/tp6801/library.c')
-rw-r--r-- | camlibs/tp6801/library.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/camlibs/tp6801/library.c b/camlibs/tp6801/library.c index 3eb78b1d3..4720ce638 100644 --- a/camlibs/tp6801/library.c +++ b/camlibs/tp6801/library.c @@ -13,7 +13,7 @@ * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License - * along with this program; if not, write to the + * along with this program; if not, write to the * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA */ @@ -77,7 +77,7 @@ camera_abilities (CameraAbilitiesList *list) a.usb_vendor = tp6801_devinfo[i].vendor_id; a.usb_product= tp6801_devinfo[i].product_id; a.operations = GP_OPERATION_NONE; - a.folder_operations = GP_FOLDER_OPERATION_PUT_FILE | + a.folder_operations = GP_FOLDER_OPERATION_PUT_FILE | GP_FOLDER_OPERATION_DELETE_ALL; a.file_operations = GP_FILE_OPERATION_DELETE | GP_FILE_OPERATION_RAW; @@ -206,7 +206,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, ret = gp_file_set_mime_type (file, GP_MIME_PNG); if (ret < 0) { gdFree (gdpng); return ret; } - ret = gp_file_set_name (file, filename); + ret = gp_file_set_name (file, filename); if (ret < 0) { gdFree (gdpng); return ret; } ret = gp_file_append (file, gdpng, size); @@ -219,7 +219,7 @@ get_file_func (CameraFilesystem *fs, const char *folder, const char *filename, } static int -put_file_func (CameraFilesystem *fs, const char *folder, const char *name, +put_file_func (CameraFilesystem *fs, const char *folder, const char *name, CameraFileType type, CameraFile *file, void *data, GPContext *context) { #ifdef HAVE_LIBGD @@ -354,7 +354,7 @@ static int file_list_func (CameraFilesystem *fs, const char *folder, CameraList *list, void *data, GPContext *context) { - Camera *camera = data; + Camera *camera = data; int i, count, present; char buf[30]; @@ -461,7 +461,7 @@ camera_set_config (Camera *camera, CameraWidget *window, GPContext *context) } static int -camera_exit (Camera *camera, GPContext *context) +camera_exit (Camera *camera, GPContext *context) { char buf[2]; @@ -477,7 +477,7 @@ camera_exit (Camera *camera, GPContext *context) } int -camera_init (Camera *camera, GPContext *context) +camera_init (Camera *camera, GPContext *context) { CameraAbilities a; int ret; |