[gtksourceview/gnome-2-28] Changed signal "line-mark-activated" and "cell-activated".
- From: Paolo Borelli <pborelli src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtksourceview/gnome-2-28] Changed signal "line-mark-activated" and "cell-activated".
- Date: Sat, 19 Dec 2009 11:17:18 +0000 (UTC)
commit 5d63fc148138906ca97eca7cb323fac427ec5b84
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 3b420f0..d3bc04d 100644
--- a/gtksourceview/gtksourceview.c
+++ b/gtksourceview/gtksourceview.c
@@ -474,7 +474,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]