From f90268e273dc75f8be194a3af4ecf17d7d269e6c Mon Sep 17 00:00:00 2001 From: Not Zed Date: Thu, 28 Oct 2004 04:05:31 +0000 Subject: revert the last change. 2004-10-28 Not Zed * e-config.c (ec_rebuild): revert the last change. svn path=/trunk/; revision=27748 --- e-util/e-config.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'e-util/e-config.c') diff --git a/e-util/e-config.c b/e-util/e-config.c index ebc7979632..f4e3493c66 100644 --- a/e-util/e-config.c +++ b/e-util/e-config.c @@ -635,7 +635,7 @@ ec_rebuild(EConfig *emp) if (section && ((item->type == E_CONFIG_SECTION && !GTK_IS_BOX(section)) || (item->type == E_CONFIG_SECTION_TABLE && !GTK_IS_TABLE(section)))) - g_warning("ECofnig section type is wrong"); + g_warning("EConfig section type is wrong"); } else if (wn->widget == NULL) { GtkWidget *frame; GtkWidget *label = NULL; @@ -652,11 +652,8 @@ ec_rebuild(EConfig *emp) if (item->type == E_CONFIG_SECTION) section = gtk_vbox_new(FALSE, 6); - else { + else section = gtk_table_new(1, 1, FALSE); - gtk_table_set_row_spacings((GtkTable *)section, 6); - gtk_table_set_col_spacings((GtkTable *)section, 6); - } frame = g_object_new(gtk_frame_get_type(), "shadow_type", GTK_SHADOW_NONE, -- cgit