[gtksourceview] Replace underscores by dashes for "highlight-updated" signal
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview] Replace underscores by dashes for "highlight-updated" signal
- Date: Wed, 15 Jun 2016 16:12:06 +0000 (UTC)
commit 5440723964cb1ab8eb0b989817197afc278b015b
Author: Sébastien Wilmet <swilmet gnome org>
Date: Wed Jun 15 17:46:48 2016 +0200
Replace underscores by dashes for "highlight-updated" signal
gtksourceview/gtksourcebuffer.c | 2 +-
gtksourceview/gtksourcecontextengine.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index 0ac22a6..34f1775 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -428,7 +428,7 @@ gtk_source_buffer_class_init (GtkSourceBufferClass *klass)
* updated (e.g. the no-spell-check context class).
*/
buffer_signals[HIGHLIGHT_UPDATED] =
- g_signal_new_class_handler ("highlight_updated",
+ g_signal_new_class_handler ("highlight-updated",
G_OBJECT_CLASS_TYPE (object_class),
G_SIGNAL_RUN_LAST,
G_CALLBACK (gtk_source_buffer_real_highlight_updated),
diff --git a/gtksourceview/gtksourcecontextengine.c b/gtksourceview/gtksourcecontextengine.c
index d7dc4e9..e77f3ae 100644
--- a/gtksourceview/gtksourcecontextengine.c
+++ b/gtksourceview/gtksourcecontextengine.c
@@ -1247,7 +1247,7 @@ refresh_range (GtkSourceContextEngine *ce,
}
g_signal_emit_by_name (ce->priv->buffer,
- "highlight_updated",
+ "highlight-updated",
start,
&real_end);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]