aboutsummaryrefslogtreecommitdiffstats
path: root/src/callbacks.h
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 11:04:54 (GMT)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>2018-09-04 11:04:54 (GMT)
commit4b38b0d68956bcaa7e47fd46941a8b9fc72cc692 (patch)
treecdde897ab3814e8264a2e2e09ffcc4c1d0d40530 /src/callbacks.h
parent58c707029d7a4d1632c1bdc51b52891397570716 (diff)
callbacks: fix the notification functions
As warned by gcc, the way it is, those functions do nothing, as they're not passing a pointer to the data that should be updated. Fix them. Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'src/callbacks.h')
-rw-r--r--src/callbacks.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/callbacks.h b/src/callbacks.h
index d38fe4b..83efcc8 100644
--- a/src/callbacks.h
+++ b/src/callbacks.h
@@ -10,11 +10,11 @@ G_BEGIN_DECLS
void on_change_size_activate (GtkWidget * widget, cam_t *cam);
void on_quit_activate (GtkMenuItem * menuitem, gpointer user_data);
void gconf_notify_func (GConfClient * client, guint cnxn_id,
- GConfEntry * entry, char *);
+ GConfEntry * entry, char **);
void gconf_notify_func_bool (GConfClient * client, guint cnxn_id,
- GConfEntry * entry, gboolean val);
+ GConfEntry * entry, gboolean *val);
void gconf_notify_func_int (GConfClient * client, guint cnxn_id,
- GConfEntry * entry, int val);
+ GConfEntry * entry, int *val);
int delete_event (GtkWidget *, gpointer data);
void cap_func (GtkWidget *, cam_t *);
void rcap_func (GtkWidget *, cam_t *);

Privacy Policy