summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.c
diff options
context:
space:
mode:
authorNat Friedman <nat@nat.org>1999-01-17 19:01:49 +0000
committerNat Friedman <nat@src.gnome.org>1999-01-17 19:01:49 +0000
commit377579c2ef8cd1b053e783d0b3f05057d37fe783 (patch)
treeb3895242ae7c5ae941d001e4df9b0b08c3f6de02 /gtk/gtkscrolledwindow.c
parent01457a02308be50bd100bf35d68ef5b783d830ca (diff)
downloadgdk-pixbuf-377579c2ef8cd1b053e783d0b3f05057d37fe783.tar.gz
New macro. Changed the spacing from 5 to 3.
1999-01-17 Nat Friedman <nat@nat.org> * gtk/gtkscrolledwindow.c (DEFAULT_SCROLLBAR_SPACING): New macro. Changed the spacing from 5 to 3. * gtk/gtkmenubar.c (BORDER_SPACING): Changed the extra spacing on the menubar from 2 to 0.
Diffstat (limited to 'gtk/gtkscrolledwindow.c')
-rw-r--r--gtk/gtkscrolledwindow.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c
index d994449a4..b6f41d5dd 100644
--- a/gtk/gtkscrolledwindow.c
+++ b/gtk/gtkscrolledwindow.c
@@ -57,6 +57,8 @@
#define SCROLLBAR_SPACING(w) (GTK_SCROLLED_WINDOW_CLASS (GTK_OBJECT (w)->klass)->scrollbar_spacing)
+#define DEFAULT_SCROLLBAR_SPACING 3
+
enum {
ARG_0,
ARG_HADJUSTMENT,
@@ -175,7 +177,7 @@ gtk_scrolled_window_class_init (GtkScrolledWindowClass *class)
container_class->remove = gtk_scrolled_window_remove;
container_class->forall = gtk_scrolled_window_forall;
- class->scrollbar_spacing = 5;
+ class->scrollbar_spacing = DEFAULT_SCROLLBAR_SPACING;
}
static void