diff options
author | Christopher James Lahey <clahey@ximian.com> | 2001-08-05 07:09:34 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2001-08-05 07:09:34 +0800 |
commit | 872691b50eb68d38d814ea1f919a0190b9a658fc (patch) | |
tree | 144c7c75c5a3d01bfe86dd072e8b66c555c2f2ff /widgets/table | |
parent | 950e90cd92e950cb17645b5c3d6fc6eae2f07c5e (diff) | |
download | gsoc2013-evolution-872691b50eb68d38d814ea1f919a0190b9a658fc.tar.gz gsoc2013-evolution-872691b50eb68d38d814ea1f919a0190b9a658fc.tar.zst gsoc2013-evolution-872691b50eb68d38d814ea1f919a0190b9a658fc.zip |
Set the hadjustment and vadjustment here. From a patch by Kevin
2001-08-04 Christopher James Lahey <clahey@ximian.com>
* e-tree-scrolled.c (e_tree_scrolled_new): Set the hadjustment and
vadjustment here. From a patch by Kevin Vandersloot
<kfv101@psu.edu>. Fixes Ximian bug #6400.
svn path=/trunk/; revision=11684
Diffstat (limited to 'widgets/table')
-rw-r--r-- | widgets/table/e-tree-scrolled.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/table/e-tree-scrolled.c b/widgets/table/e-tree-scrolled.c index ba1780036c..4038746685 100644 --- a/widgets/table/e-tree-scrolled.c +++ b/widgets/table/e-tree-scrolled.c @@ -131,8 +131,10 @@ GtkWidget *e_tree_scrolled_new_from_spec_file (ETreeModel *etm g_return_val_if_fail(ete == NULL || E_IS_TABLE_EXTRAS(ete), NULL); g_return_val_if_fail(spec_fn != NULL, NULL); - ets = gtk_type_new (e_tree_scrolled_get_type ()); - + ets = E_TREE_SCROLLED (gtk_widget_new (e_tree_scrolled_get_type (), + "hadjustment", NULL, + "vadjustment", NULL, + NULL)); ets = e_tree_scrolled_construct_from_spec_file (ets, etm, ete, spec_fn, state_fn); return GTK_WIDGET (ets); |