aboutsummaryrefslogtreecommitdiffstats
path: root/src/v4l.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/v4l.h')
-rw-r--r--src/v4l.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/v4l.h b/src/v4l.h
index e049d44..f68a8a9 100644
--- a/src/v4l.h
+++ b/src/v4l.h
@@ -76,7 +76,6 @@ typedef struct camera {
gboolean timestamp, rtimestamp, usedate, usestring;
gboolean rtimefn, timefn;
GtkWidget *da, *status;
- GtkApplication *app;
unsigned char *pic_buf, *tmp;
guint timeout_id, timeout_fps_id, idle_id;
guint32 timeout_interval;
@@ -84,6 +83,10 @@ typedef struct camera {
GtkBuilder *xml;
GdkPixbuf *pb;
+#if GTK_MAJOR_VERSION >= 3
+ GtkApplication *app;
+#endif
+
CamoramaFilterChain *filter_chain;
gboolean rdir_ok;

Privacy Policy