[gtksourceview/wip/gutter-draw-refactoring: 2/3] gutter: on_view_draw: use GDK_EVENT_PROPAGATE
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/gutter-draw-refactoring: 2/3] gutter: on_view_draw: use GDK_EVENT_PROPAGATE
- Date: Sun, 23 Nov 2014 11:57:35 +0000 (UTC)
commit 0b39a1b1c65670ed69a8f0d10d4c2dc8e2ca96bd
Author: Sébastien Wilmet <swilmet gnome org>
Date: Sun Nov 23 12:34:46 2014 +0100
gutter: on_view_draw: use GDK_EVENT_PROPAGATE
gtksourceview/gtksourcegutter.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutter.c b/gtksourceview/gtksourcegutter.c
index 1c19f1f..420c29b 100644
--- a/gtksourceview/gtksourcegutter.c
+++ b/gtksourceview/gtksourcegutter.c
@@ -949,7 +949,7 @@ on_view_draw (GtkSourceView *view,
if (!get_clip_rectangle (gutter, view, cr, &clip))
{
- return FALSE;
+ return GDK_EVENT_PROPAGATE;
}
gutter->priv->is_drawing = TRUE;
@@ -1024,7 +1024,7 @@ on_view_draw (GtkSourceView *view,
class = GTK_STYLE_CLASS_LEFT;
break;
default:
- g_return_val_if_reached (FALSE);
+ g_return_val_if_reached (GDK_EVENT_PROPAGATE);
}
/* Apply classes ourselves, since we are in connect_after and so they
@@ -1224,7 +1224,7 @@ on_view_draw (GtkSourceView *view,
gtk_style_context_restore (style_context);
- return FALSE;
+ return GDK_EVENT_PROPAGATE;
}
static Renderer *
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]