summaryrefslogtreecommitdiff
path: root/src/gui/dialogs
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/dialogs')
-rw-r--r--src/gui/dialogs/about.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/gui/dialogs/about.c b/src/gui/dialogs/about.c
index e2836e5..574c7f2 100644
--- a/src/gui/dialogs/about.c
+++ b/src/gui/dialogs/about.c
@@ -101,11 +101,9 @@ GtkWidget *create_about_dialog(GtkWindow *parent, GtkBuilder **outb)
/* Connexion des signaux */
-#define DEFINE_CALLBACK(cb) #cb, G_CALLBACK(cb)
-
gtk_builder_add_callback_symbols(builder,
- DEFINE_CALLBACK(close_about_window_on_escape),
- DEFINE_CALLBACK(draw_black_background),
+ BUILDER_CALLBACK(close_about_window_on_escape),
+ BUILDER_CALLBACK(draw_black_background),
NULL);
gtk_builder_connect_signals(builder, builder);