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/dialogs/export_graph.c | |
parent | 92b083e7d0d8e844849c4b86f3e8276f6419bbfb (diff) |
Used the new macro used to provide callbacks to GtkBuilder everywhere.
Diffstat (limited to 'src/gui/dialogs/export_graph.c')
-rw-r--r-- | src/gui/dialogs/export_graph.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gui/dialogs/export_graph.c b/src/gui/dialogs/export_graph.c index 0af0203..160eaf2 100644 --- a/src/gui/dialogs/export_graph.c +++ b/src/gui/dialogs/export_graph.c @@ -38,6 +38,7 @@ #include "../../core/logs.h" #include "../../glibext/gbinarycursor.h" #include "../../glibext/gloadedpanel.h" +#include "../../gtkext/easygtk.h" #include "../../gtkext/gtkdisplaypanel.h" @@ -153,11 +154,11 @@ void run_graph_export_assistant(GLoadedBinary *binary, GtkGraphDisplay *display, /* Connexion des signaux */ gtk_builder_add_callback_symbols(builder, - "graph_export_assistant_cancel", G_CALLBACK(graph_export_assistant_cancel), - "graph_export_assistant_close", G_CALLBACK(graph_export_assistant_close), - "on_output_format_toggled", G_CALLBACK(on_output_format_toggled), - "on_output_filename_changed", G_CALLBACK(on_output_filename_changed), - "on_output_filename_selection", G_CALLBACK(on_output_filename_selection), + BUILDER_CALLBACK(graph_export_assistant_cancel), + BUILDER_CALLBACK(graph_export_assistant_close), + BUILDER_CALLBACK(on_output_format_toggled), + BUILDER_CALLBACK(on_output_filename_changed), + BUILDER_CALLBACK(on_output_filename_selection), NULL); gtk_builder_connect_signals(builder, builder); |