diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-08-19 22:31:03 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-08-19 22:31:03 (GMT) |
commit | 0f0b27448c72b979b7153aa83647612f335995ce (patch) | |
tree | ae602cadc145fa67d7b769a27e312e76693a99a5 /src/gui/panels/history.c | |
parent | 92b083e7d0d8e844849c4b86f3e8276f6419bbfb (diff) |
Used the new macro used to provide callbacks to GtkBuilder everywhere.
Diffstat (limited to 'src/gui/panels/history.c')
-rw-r--r-- | src/gui/panels/history.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/panels/history.c b/src/gui/panels/history.c index 4cf54aa..320babb 100644 --- a/src/gui/panels/history.c +++ b/src/gui/panels/history.c @@ -36,6 +36,7 @@ #include "../../analysis/binary.h" #include "../../glibext/chrysamarshal.h" #include "../../glibext/signal.h" +#include "../../gtkext/easygtk.h" #include "../../gtkext/named.h" @@ -186,10 +187,10 @@ static void g_history_panel_init(GHistoryPanel *panel) /* Connexion des signaux */ gtk_builder_add_callback_symbols(builder, - "on_history_selection_change", G_CALLBACK(on_history_selection_change), - "do_history_undo", G_CALLBACK(do_history_undo), - "do_history_redo", G_CALLBACK(do_history_redo), - "do_history_clean", G_CALLBACK(do_history_clean), + BUILDER_CALLBACK(on_history_selection_change), + BUILDER_CALLBACK(do_history_undo), + BUILDER_CALLBACK(do_history_redo), + BUILDER_CALLBACK(do_history_clean), NULL); gtk_builder_connect_signals(builder, panel); |