summaryrefslogtreecommitdiff
path: root/gtk/gtkscrolledwindow.h
diff options
context:
space:
mode:
authorTim Janik <timj@src.gnome.org>1997-12-23 20:13:14 +0000
committerTim Janik <timj@src.gnome.org>1997-12-23 20:13:14 +0000
commitee489eafb07e12f09b2e708eeeeb1b386710a485 (patch)
tree24560a2a9a302394708253e06176217e507b46c2 /gtk/gtkscrolledwindow.h
parent104f72cf9534c1c4d3f5ac8bb45c2b1d8ec1576d (diff)
downloadgtk+-ee489eafb07e12f09b2e708eeeeb1b386710a485.tar.gz
this macro computes the spacing from klass->scrollbar_spacing now. adapted
* gtk/gtkscrolledwindow.c (SCROLLBAR_SPACING): this macro computes the spacing from klass->scrollbar_spacing now. adapted all functions that used this macro (based on a patch from Patrice Fortier). * gtk/gtkscrolledwindow.h (struct _GtkScrolledWindowClass): added scrollbar_spacing to substitute a define (patch from Patrice Fortier). -timj
Diffstat (limited to 'gtk/gtkscrolledwindow.h')
-rw-r--r--gtk/gtkscrolledwindow.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkscrolledwindow.h b/gtk/gtkscrolledwindow.h
index 34a01ef6cf..54ed5637e7 100644
--- a/gtk/gtkscrolledwindow.h
+++ b/gtk/gtkscrolledwindow.h
@@ -53,6 +53,8 @@ struct _GtkScrolledWindow
struct _GtkScrolledWindowClass
{
GtkContainerClass parent_class;
+
+ gint scrollbar_spacing;
};