diff options
author | Tim Janik <timj@gtk.org> | 1998-11-29 09:51:02 +0000 |
---|---|---|
committer | Tim Janik <timj@src.gnome.org> | 1998-11-29 09:51:02 +0000 |
commit | c7850eccde06dfe2291fd87c614080ae2d9cfcb8 (patch) | |
tree | c83dffba806ea7da648ec11adc7ced26005611a3 /gtk/gtkscrolledwindow.c | |
parent | f755abd27552f9d818607e87a9e707fda2638bcf (diff) | |
download | gtk+-c7850eccde06dfe2291fd87c614080ae2d9cfcb8.tar.gz |
set composite names.
Sun Nov 29 06:12:01 1998 Tim Janik <timj@gtk.org>
* gtk/gtkscrolledwindow.c (gtk_scrolled_window_set_[hv]adjustment):
set composite names.
Diffstat (limited to 'gtk/gtkscrolledwindow.c')
-rw-r--r-- | gtk/gtkscrolledwindow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkscrolledwindow.c b/gtk/gtkscrolledwindow.c index 5608c5cc7d..d31b6d86ea 100644 --- a/gtk/gtkscrolledwindow.c +++ b/gtk/gtkscrolledwindow.c @@ -277,6 +277,7 @@ gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window, { gtk_widget_push_composite_child (); scrolled_window->hscrollbar = gtk_hscrollbar_new (hadjustment); + gtk_widget_set_composite_name (scrolled_window->hscrollbar, "hscrollbar"); gtk_widget_pop_composite_child (); gtk_widget_set_parent (scrolled_window->hscrollbar, GTK_WIDGET (scrolled_window)); @@ -329,6 +330,7 @@ gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window, { gtk_widget_push_composite_child (); scrolled_window->vscrollbar = gtk_vscrollbar_new (vadjustment); + gtk_widget_set_composite_name (scrolled_window->vscrollbar, "vscrollbar"); gtk_widget_pop_composite_child (); gtk_widget_set_parent (scrolled_window->vscrollbar, GTK_WIDGET (scrolled_window)); |