aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-06 01:39:56 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-07 14:36:56 (GMT)
commita9cf1845c57c60239a3ccd150812ba7eff5fda4f (patch)
treeb61d075c660f5292be2132d9be26a04350c3909e /src/callbacks.h
parentbad7d0926ca7f83cc7529f4de2a6d392262ada42 (diff)
Change GtkHScale to GtkScale
GtkHScale doesn't exist on Gtk 4. As GtkScale works fine since Gtk 2, use it. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/callbacks.h')
-rw-r--r--src/callbacks.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/callbacks.h b/src/callbacks.h
index a55105f..a768f7f 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -59,13 +59,13 @@ void reichardt_func(GtkToggleButton *, gpointer);
void colour_func(GtkToggleButton *, gpointer);
void smooth_func(GtkToggleButton *, gpointer);
void negative_func(GtkToggleButton *, gpointer);
-void on_scale1_drag_data_received(GtkHScale *, cam_t *);
+void on_scale1_drag_data_received(GtkScale *, cam_t *);
void on_status_show(GtkWidget *, cam_t *);
-void contrast_change(GtkHScale *, cam_t *);
-void brightness_change(GtkHScale *, cam_t *);
-void colour_change(GtkHScale *, cam_t *);
-void hue_change(GtkHScale *, cam_t *);
-void wb_change(GtkHScale *, cam_t *);
+void contrast_change(GtkScale *, cam_t *);
+void brightness_change(GtkScale *, cam_t *);
+void colour_change(GtkScale *, cam_t *);
+void hue_change(GtkScale *, cam_t *);
+void wb_change(GtkScale *, cam_t *);
gboolean on_drawingarea_expose_event(GtkWidget *, GdkEventExpose *,
cam_t *);
void set_image_scale(cam_t *cam);

Privacy Policy