[gtksourceview] Changed signal "line-mark-activated" and "cell-activated".



commit 74903a1b2b6741e45415df6b62604bd1aad8651c
Author: Krzesimir Nowak <qdlacz gmail com>
Date:   Sat Dec 12 01:41:39 2009 +0100

    Changed signal "line-mark-activated" and "cell-activated".
    
    When creating those signals with g_signal_new, G_TYPE_POINTER was
    used for GdkEvent*, where
    GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE should be ok.

 gtksourceview/gtksourcegutter.c |    2 +-
 gtksourceview/gtksourceview.c   |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index fa28715..3057f4c 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -377,7 +377,7 @@ gtk_source_gutter_class_init (GtkSourceGutterClass *klass)
 			      3,
 			      GTK_TYPE_CELL_RENDERER,
 			      GTK_TYPE_TEXT_ITER,
-			      G_TYPE_POINTER);
+			      GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
 
 	/**
 	 * GtkSourceGutter::query-tooltip:
diff --git a/gtksourceview/gtksourceview.c b/gtksourceview/gtksourceview.c
index 4a62a4e..1a3bc19 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -523,7 +523,7 @@ gtk_source_view_class_init (GtkSourceViewClass *klass)
 			      G_TYPE_NONE,
 			      2,
 			      GTK_TYPE_TEXT_ITER,
-			      G_TYPE_POINTER);
+			      GDK_TYPE_EVENT | G_SIGNAL_TYPE_STATIC_SCOPE);
 
 	binding_set = gtk_binding_set_by_class (klass);
 



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