[evince/wip/gpoo/gtk4-rebase-port: 78/96] ev-view: remove the fake spacing
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 78/96] ev-view: remove the fake spacing
- Date: Sun, 20 Mar 2022 21:50:30 +0000 (UTC)
commit 24437b33debb83298a93dcbeca52148b345e8f6f
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Fri Aug 27 14:51:41 2021 +0800
ev-view: remove the fake spacing
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
libview/ev-view.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/libview/ev-view.c b/libview/ev-view.c
index 4050562ec..51102925e 100644
--- a/libview/ev-view.c
+++ b/libview/ev-view.c
@@ -519,10 +519,9 @@ ev_view_get_scrollbar_size (EvView *view,
return 0;
}
- spacing = 10; // gtk_widget_style_get (swindow, "scrollbar_spacing", &spacing, NULL);
gtk_widget_get_preferred_size (sb, &req, NULL);
- return (orientation == GTK_ORIENTATION_VERTICAL ? req.width : req.height) + spacing;
+ return (orientation == GTK_ORIENTATION_VERTICAL ? req.width : req.height);
}
static gboolean
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]