summaryrefslogtreecommitdiff
path: root/src/gtkext
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2020-08-19 22:31:03 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2020-08-19 22:31:03 (GMT)
commit0f0b27448c72b979b7153aa83647612f335995ce (patch)
treeae602cadc145fa67d7b769a27e312e76693a99a5 /src/gtkext
parent92b083e7d0d8e844849c4b86f3e8276f6419bbfb (diff)
Used the new macro used to provide callbacks to GtkBuilder everywhere.
Diffstat (limited to 'src/gtkext')
-rw-r--r--src/gtkext/gtkbufferdisplay.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gtkext/gtkbufferdisplay.c b/src/gtkext/gtkbufferdisplay.c
index e419125..4566cc5 100644
--- a/src/gtkext/gtkbufferdisplay.c
+++ b/src/gtkext/gtkbufferdisplay.c
@@ -27,6 +27,7 @@
#include <assert.h>
+#include "easygtk.h"
#include "gtkbufferdisplay-int.h"
#include "../core/params.h"
#include "../glibext/gbinarycursor.h" // REMME
@@ -1304,10 +1305,10 @@ void gtk_buffer_display_add_block_bar(GtkBufferDisplay *display)
gtk_fixed_put(GTK_FIXED(display), bar, 0, 0);
gtk_builder_add_callback_symbols(display->builder,
- "on_block_bar_enter_notify", G_CALLBACK(on_block_bar_enter_notify),
- "on_block_bar_leave_notify", G_CALLBACK(on_block_bar_leave_notify),
- "on_block_bar_collapsing_enter", G_CALLBACK(on_block_bar_collapsing_enter),
- "on_block_bar_collapsing_leave", G_CALLBACK(on_block_bar_collapsing_leave),
+ BUILDER_CALLBACK(on_block_bar_enter_notify),
+ BUILDER_CALLBACK(on_block_bar_leave_notify),
+ BUILDER_CALLBACK(on_block_bar_collapsing_enter),
+ BUILDER_CALLBACK(on_block_bar_collapsing_leave),
NULL);
gtk_builder_connect_signals(display->builder, display);