[gtksourceview/wip/gutter: 3/3] GutterRendererMarks: chain to parent change_view()
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtksourceview/wip/gutter: 3/3] GutterRendererMarks: chain to parent change_view()
- Date: Tue, 3 Sep 2013 17:01:21 +0000 (UTC)
commit 9cd927313e6aebae86e2241ffeee1b3b77073432
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Sep 3 18:58:03 2013 +0200
GutterRendererMarks: chain to parent change_view()
gtksourceview/gtksourcegutterrenderermarks.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/gtksourceview/gtksourcegutterrenderermarks.c b/gtksourceview/gtksourcegutterrenderermarks.c
index 97c1af0..af26992 100644
--- a/gtksourceview/gtksourcegutterrenderermarks.c
+++ b/gtksourceview/gtksourcegutterrenderermarks.c
@@ -418,6 +418,7 @@ gutter_renderer_change_view (GtkSourceGutterRenderer *renderer,
GtkTextView *old_view)
{
GtkSourceView *view;
+ GtkSourceGutterRendererClass *parent_class;
view = GTK_SOURCE_VIEW (gtk_source_gutter_renderer_get_view (renderer));
@@ -426,6 +427,9 @@ gutter_renderer_change_view (GtkSourceGutterRenderer *renderer,
gtk_source_gutter_renderer_set_size (renderer,
measure_line_height (view));
}
+
+ parent_class = GTK_SOURCE_GUTTER_RENDERER_CLASS (gtk_source_gutter_renderer_marks_parent_class);
+ parent_class->change_view (renderer, old_view);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]