summaryrefslogtreecommitdiff
path: root/src/gui/menus/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/menus/view.c')
-rw-r--r--src/gui/menus/view.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/gui/menus/view.c b/src/gui/menus/view.c
index b778f8c..d41df92 100644
--- a/src/gui/menus/view.c
+++ b/src/gui/menus/view.c
@@ -93,14 +93,12 @@ void setup_menu_view_callbacks(GtkBuilder *builder)
{
GObject *item; /* Elément à compléter */
-#define DEFINE_CALLBACK(cb) #cb, G_CALLBACK(cb)
-
gtk_builder_add_callback_symbols(builder,
- DEFINE_CALLBACK(mcb_view_update_side_panels_list),
- DEFINE_CALLBACK(mcb_view_switch_to_next_support),
- DEFINE_CALLBACK(mcb_view_switch_to_prev_support),
- DEFINE_CALLBACK(mcb_view_zoom),
- DEFINE_CALLBACK(mcb_view_show_full_screen),
+ BUILDER_CALLBACK(mcb_view_update_side_panels_list),
+ BUILDER_CALLBACK(mcb_view_switch_to_next_support),
+ BUILDER_CALLBACK(mcb_view_switch_to_prev_support),
+ BUILDER_CALLBACK(mcb_view_zoom),
+ BUILDER_CALLBACK(mcb_view_show_full_screen),
NULL);
/* Affichage -> Panneaux latéraux */