[gtksourceview] Replace underscores by dashes for "source-mark-updated" signal



commit ee1cccf2315a0f7d37a1357d2bb147788f19e6c4
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Wed Jun 15 17:53:03 2016 +0200

    Replace underscores by dashes for "source-mark-updated" signal

 gtksourceview/gtksourcebuffer.c |    4 ++--
 gtksourceview/gtksourceview.c   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcebuffer.c b/gtksourceview/gtksourcebuffer.c
index 34f1775..b53c0f4 100644
--- a/gtksourceview/gtksourcebuffer.c
+++ b/gtksourceview/gtksourcebuffer.c
@@ -443,11 +443,11 @@ gtk_source_buffer_class_init (GtkSourceBufferClass *klass)
         * @buffer: the buffer that received the signal
         * @mark: the #GtkSourceMark
         *
-        * The ::source_mark_updated signal is emitted each time
+        * The ::source-mark-updated signal is emitted each time
         * a mark is added to, moved or removed from the @buffer.
         */
        buffer_signals[SOURCE_MARK_UPDATED] =
-           g_signal_new ("source_mark_updated",
+           g_signal_new ("source-mark-updated",
                           G_OBJECT_CLASS_TYPE (object_class),
                           G_SIGNAL_RUN_LAST,
                           0,
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 25c8acc..d66db1b 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -1387,7 +1387,7 @@ set_source_buffer (GtkSourceView *view,
                view->priv->source_buffer = g_object_ref (buffer);
 
                g_signal_connect (buffer,
-                                 "source_mark_updated",
+                                 "source-mark-updated",
                                  G_CALLBACK (source_mark_updated_cb),
                                  view);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]