aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTambet Ingo <tambet@ximian.com>2001-03-31 17:17:37 +0800
committerTambet Ingo <tambeti@src.gnome.org>2001-03-31 17:17:37 +0800
commit08f78aa8ded1e68c259825f1097ea6a6c69263bb (patch)
tree5a4284348573c18cc3962a121244838c82fca175
parente51bb13fc41584414bdb78cf2ea3d1c86d01133f (diff)
downloadgsoc2013-evolution-08f78aa8ded1e68c259825f1097ea6a6c69263bb.tar.gz
gsoc2013-evolution-08f78aa8ded1e68c259825f1097ea6a6c69263bb.tar.zst
gsoc2013-evolution-08f78aa8ded1e68c259825f1097ea6a6c69263bb.zip
Fixed little bug, add adjustments.
2001-03-31 Tambet Ingo <tambet@ximian.com> * e-table-scrolled.c (e_table_scrolled_new_from_spec_file): Fixed little bug, add adjustments. svn path=/trunk/; revision=9068
-rw-r--r--widgets/table/e-table-scrolled.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/widgets/table/e-table-scrolled.c b/widgets/table/e-table-scrolled.c
index cd816a678c..fcf9d64199 100644
--- a/widgets/table/e-table-scrolled.c
+++ b/widgets/table/e-table-scrolled.c
@@ -131,7 +131,10 @@ GtkWidget *e_table_scrolled_new_from_spec_file (ETableModel *e
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_table_scrolled_get_type ());
+ ets = E_TABLE_SCROLLED (gtk_widget_new (e_table_scrolled_get_type (),
+ "hadjustment", NULL,
+ "vadjustment", NULL,
+ NULL));
ets = e_table_scrolled_construct_from_spec_file (ets, etm, ete, spec_fn, state_fn);