diff options
author | Thomas White <taw@bitwiz.org.uk> | 2015-02-06 20:18:14 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2015-02-06 20:18:14 +0100 |
commit | 1eeb30b14b0d440eedab43f75a4812d301c9dbfc (patch) | |
tree | 5c94ad3e06d4bbebb21949dff3f543231df15bc9 /src/sc_editor.c | |
parent | 95c2c65355a95e1c43fa2647392a24cc6d092fc1 (diff) |
Fix scrollbars
Diffstat (limited to 'src/sc_editor.c')
-rw-r--r-- | src/sc_editor.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sc_editor.c b/src/sc_editor.c index 80c56dd..3bcc642 100644 --- a/src/sc_editor.c +++ b/src/sc_editor.c @@ -1405,8 +1405,7 @@ void sc_editor_set_scblock(SCEditor *e, SCBlock *scblocks) static void update_size_request(SCEditor *e) { - gtk_widget_set_size_request(GTK_WIDGET(e), e->w + 2.0*e->min_border, - e->h + 2.0*e->min_border); + gtk_widget_set_size_request(GTK_WIDGET(e), 0, e->h + 2.0*e->min_border); } |