aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-20 20:29:49 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-20 20:29:49 (GMT)
commit6087e0f3b3b2cfd57bf5eb173eaa0d4dd34ba9a4 (patch)
treec83d1e9b8225e7847b10914b0264ca2d565757b8 /src/callbacks.h
parent9b698aa3427ee8077f262fdb4bce45f103d86af4 (diff)
Get rid of a duplicated timeout function
Right now, it doesn't matter if it is either using read() or mmap() interface. For both, the frame read logic is called internally at the Gtk loop. So, simplify the logic. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/callbacks.h')
-rw-r--r--src/callbacks.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/callbacks.h b/src/callbacks.h
index 678d261..f85e9ac 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -28,7 +28,6 @@ void rjpg_func(GtkWidget *, cam_t *);
void rpng_func(GtkWidget *, cam_t *);
void draw_callback(GtkWidget *, cairo_t *, cam_t *cam);
-gint(*pt2Function) (cam_t *);
void rppm_func(GtkWidget *, cam_t *);
void on_preferences1_activate(GtkMenuItem *menuitem, gpointer user_data);
void on_about_activate(GtkMenuItem *menuitem, cam_t *cam);
@@ -42,7 +41,6 @@ void capture_func(GtkWidget *, cam_t *);
gint timeout_capture_func(cam_t *);
gint fps(GtkWidget *);
gint timeout_func(cam_t *);
-gint read_timeout_func(cam_t *);
void edge_func1(GtkToggleButton *, gpointer);
void sobel_func(GtkToggleButton *, gpointer);
void fix_colour_func(GtkToggleButton *, char *);

Privacy Policy