summaryrefslogtreecommitdiffstats
path: root/libdivecomputer.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdivecomputer.h')
-rw-r--r--libdivecomputer.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/libdivecomputer.h b/libdivecomputer.h
index 2fd42c91a..639a69c73 100644
--- a/libdivecomputer.h
+++ b/libdivecomputer.h
@@ -18,10 +18,12 @@ typedef struct device_data_t {
unsigned int deviceid, diveid;
dc_device_t *device;
dc_context_t *context;
- progressbar_t progress;
int preexisting;
gboolean force_download;
+#if USE_GTK_UI
+ progressbar_t progress;
GtkDialog *dialog;
+#endif
} device_data_t;
extern GError *do_import(device_data_t *data);