diff options
Diffstat (limited to 'src/ui/new_contact.h')
-rw-r--r-- | src/ui/new_contact.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/ui/new_contact.h b/src/ui/new_contact.h index 7a7ff96..dd04cce 100644 --- a/src/ui/new_contact.h +++ b/src/ui/new_contact.h | |||
@@ -29,14 +29,19 @@ | |||
29 | 29 | ||
30 | #include <cairo/cairo.h> | 30 | #include <cairo/cairo.h> |
31 | #include <gdk/gdkpixbuf.h> | 31 | #include <gdk/gdkpixbuf.h> |
32 | #include <gstreamer-1.0/gst/gst.h> | ||
32 | #include <pthread.h> | 33 | #include <pthread.h> |
33 | #include <zbar.h> | ||
34 | 34 | ||
35 | typedef struct UI_NEW_CONTACT_Handle | 35 | typedef struct UI_NEW_CONTACT_Handle |
36 | { | 36 | { |
37 | zbar_video_t *video; | 37 | GstElement *pipeline; |
38 | zbar_image_t *image; | 38 | GstElement *source; |
39 | zbar_image_scanner_t *scanner; | 39 | GstElement *scanner; |
40 | GstElement *sink; | ||
41 | |||
42 | guint bus_watch; | ||
43 | |||
44 | GdkPixbuf *image; | ||
40 | 45 | ||
41 | GtkBuilder *builder; | 46 | GtkBuilder *builder; |
42 | GtkDialog *dialog; | 47 | GtkDialog *dialog; |