[gnome-builder] libide: sort signals



commit 7598350281e20730eaa09bdc0a894f314b682ef7
Author: Christian Hergert <christian hergert me>
Date:   Wed Mar 4 14:14:00 2015 -0800

    libide: sort signals

 libide/ide-source-view.c |   24 ++++++++++++------------
 1 files changed, 12 insertions(+), 12 deletions(-)
---
diff --git a/libide/ide-source-view.c b/libide/ide-source-view.c
index 6542e66..526e3d8 100644
--- a/libide/ide-source-view.c
+++ b/libide/ide-source-view.c
@@ -1896,18 +1896,6 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
                   IDE_TYPE_SOURCE_VIEW_MOVEMENT,
                   G_TYPE_BOOLEAN);
 
-  gSignals [SET_MODE] =
-    g_signal_new ("set-mode",
-                  G_TYPE_FROM_CLASS (klass),
-                  G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
-                  G_STRUCT_OFFSET (IdeSourceViewClass, set_mode),
-                  NULL, NULL,
-                  g_cclosure_marshal_generic,
-                  G_TYPE_NONE,
-                  2,
-                  G_TYPE_STRING,
-                  IDE_TYPE_SOURCE_VIEW_MODE_TYPE);
-
   gSignals [POP_SNIPPET] =
     g_signal_new ("pop-snippet",
                   G_TYPE_FROM_CLASS (klass),
@@ -1930,6 +1918,18 @@ ide_source_view_class_init (IdeSourceViewClass *klass)
                   IDE_TYPE_SOURCE_SNIPPET,
                   IDE_TYPE_SOURCE_SNIPPET_CONTEXT,
                   GTK_TYPE_TEXT_ITER);
+
+  gSignals [SET_MODE] =
+    g_signal_new ("set-mode",
+                  G_TYPE_FROM_CLASS (klass),
+                  G_SIGNAL_RUN_LAST | G_SIGNAL_ACTION,
+                  G_STRUCT_OFFSET (IdeSourceViewClass, set_mode),
+                  NULL, NULL,
+                  g_cclosure_marshal_generic,
+                  G_TYPE_NONE,
+                  2,
+                  G_TYPE_STRING,
+                  IDE_TYPE_SOURCE_VIEW_MODE_TYPE);
 }
 
 static void


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