diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-09-11 21:57:53 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-09-11 21:57:53 (GMT) |
commit | ce8c1719963657aeaf963650183e46979cab0d68 (patch) | |
tree | 389d1d40912a20006de3bcfc5158d57a2269fb90 /src/gtkext/gtkbufferview.c | |
parent | d1dd9ae74ba56b04ad8f79d926b2282c6c7fa0fd (diff) |
Displayed a default picture when no panel overview is available.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@403 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/gtkext/gtkbufferview.c')
-rw-r--r-- | src/gtkext/gtkbufferview.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkext/gtkbufferview.c b/src/gtkext/gtkbufferview.c index 8e1a9c7..87928b9 100644 --- a/src/gtkext/gtkbufferview.c +++ b/src/gtkext/gtkbufferview.c @@ -363,8 +363,8 @@ static gboolean gtk_buffer_view_draw(GtkWidget *widget, cairo_t *cr) gtk_style_context_add_class(context, GTK_STYLE_CLASS_TROUGH); - gtk_render_background (context, cr, 0, area.y, view->left_margin, 300000); - gtk_render_frame (context, cr, 0, area.y - 10, view->left_margin, area.height + 20); + gtk_render_background (context, cr, 0, area.y, view->left_margin, area.height); + gtk_render_frame(context, cr, 0, area.y - 10, view->left_margin, area.height + 20); gtk_style_context_restore(context); |