diff --git a/src/plugins/video.c b/src/plugins/video.c index 2a9b10c..bea16a2 100644 --- a/src/plugins/video.c +++ b/src/plugins/video.c @@ -27,6 +27,9 @@ #include #include #include +#ifdef DEBUG +# include +#endif #include #include #include @@ -67,8 +70,8 @@ typedef struct _PhonePlugin int yuv_amp; /* widgets */ - GdkGC * gc; GtkWidget * window; + GdkGC * gc; GtkWidget * area; GtkAllocation area_allocation; GdkPixmap * pixmap; @@ -147,8 +150,8 @@ static VideoPhonePlugin * _video_init(PhonePluginHelper * helper) video->rgb_buffer = NULL; video->rgb_buffer_cnt = 0; video->yuv_amp = 255; - video->gc = NULL; video->window = NULL; + video->gc = NULL; /* check for errors */ if((video->device = string_new(device)) == NULL) {