[gnome-builder] completion: include "after" in signal callback
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] completion: include "after" in signal callback
- Date: Sat, 9 Jun 2018 22:15:13 +0000 (UTC)
commit 2aebf3726a619985f83b25a47251e4d0d98d325f
Author: Christian Hergert <chergert redhat com>
Date: Sat Jun 9 15:13:08 2018 -0700
completion: include "after" in signal callback
It's more obvious without checking to know a signal callback is
in the G_CONNECT_AFTER phase to add "after" to the name.
src/libide/completion/ide-completion.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/completion/ide-completion.c b/src/libide/completion/ide-completion.c
index 76d92c425..1c9f72f89 100644
--- a/src/libide/completion/ide-completion.c
+++ b/src/libide/completion/ide-completion.c
@@ -643,10 +643,10 @@ ide_completion_queue_update (IdeCompletion *self)
}
static void
-ide_completion_buffer_delete_range_cb (IdeCompletion *self,
- GtkTextIter *begin,
- GtkTextIter *end,
- GtkTextBuffer *buffer)
+ide_completion_buffer_delete_range_after_cb (IdeCompletion *self,
+ GtkTextIter *begin,
+ GtkTextIter *end,
+ GtkTextBuffer *buffer)
{
g_assert (IDE_IS_COMPLETION (self));
g_assert (IDE_IS_SOURCE_VIEW (self->view));
@@ -1199,7 +1199,7 @@ ide_completion_init (IdeCompletion *self)
G_CONNECT_AFTER | G_CONNECT_SWAPPED);
dzl_signal_group_connect_object (self->buffer_signals,
"delete-range",
- G_CALLBACK (ide_completion_buffer_delete_range_cb),
+ G_CALLBACK (ide_completion_buffer_delete_range_after_cb),
self,
G_CONNECT_AFTER | G_CONNECT_SWAPPED);
dzl_signal_group_connect_object (self->buffer_signals,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]