From 4e1b75d7c23b1a2cabcfcad3f697fa93efa26e28 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Tue, 16 Aug 2005 15:08:29 +0000 Subject: [PATCH] has GP_PORT_DISK, remove some no longer available operations. git-svn-id: https://svn.code.sf.net/p/gphoto/code/trunk/libgphoto2@8213 67ed7778-7388-44ab-90cf-0a291f65f57c --- camlibs/directory/directory.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/camlibs/directory/directory.c b/camlibs/directory/directory.c index 74d294e14..bad030ff0 100644 --- a/camlibs/directory/directory.c +++ b/camlibs/directory/directory.c @@ -116,15 +116,11 @@ int camera_abilities (CameraAbilitiesList *list) memset(&a, 0, sizeof(a)); strcpy(a.model, "Directory Browse"); a.status = GP_DRIVER_STATUS_PRODUCTION; - a.port = GP_PORT_NONE; + a.port = GP_PORT_DISK; a.speed[0] = 0; -#ifdef DEBUG - a.operations = GP_OPERATION_CONFIG | GP_OPERATION_CAPTURE_PREVIEW | - GP_OPERATION_CAPTURE_IMAGE; -#else - a.operations = GP_OPERATION_CONFIG; -#endif + a.operations = GP_OPERATION_NONE; + #ifdef DEBUG a.file_operations = GP_FILE_OPERATION_PREVIEW | GP_FILE_OPERATION_DELETE |