summaryrefslogtreecommitdiff
path: root/gtk/gtkvscrollbar.c
diff options
context:
space:
mode:
authorJay Painter <jpaint@src.gnome.org>1997-12-13 19:32:00 +0000
committerJay Painter <jpaint@src.gnome.org>1997-12-13 19:32:00 +0000
commitebce1f7954757b46c58c3de0f924007aeaebad72 (patch)
tree2d0c51699718873bc32e72b9949a0238f39b9003 /gtk/gtkvscrollbar.c
parentda9a8aee9e1fd1a387799fd61c4c20584141dfdd (diff)
downloadgtk+-ebce1f7954757b46c58c3de0f924007aeaebad72.tar.gz
Added focus flag to gtk/gtkvscrollbar.c so it can get keyboard focus.
-Jay
Diffstat (limited to 'gtk/gtkvscrollbar.c')
-rw-r--r--gtk/gtkvscrollbar.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkvscrollbar.c b/gtk/gtkvscrollbar.c
index 87421c7bfb..f272617528 100644
--- a/gtk/gtkvscrollbar.c
+++ b/gtk/gtkvscrollbar.c
@@ -89,6 +89,7 @@ gtk_vscrollbar_init (GtkVScrollbar *vscrollbar)
GtkRequisition *requisition;
widget = GTK_WIDGET (vscrollbar);
+ GTK_WIDGET_SET_FLAGS (widget, GTK_CAN_FOCUS);
requisition = &widget->requisition;
requisition->width = (RANGE_CLASS (widget)->slider_width +