aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table')
-rw-r--r--widgets/table/e-table-state.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-state.c b/widgets/table/e-table-state.c
index 2d7fb3b3ac..0bb3f2e0a4 100644
--- a/widgets/table/e-table-state.c
+++ b/widgets/table/e-table-state.c
@@ -11,12 +11,14 @@
#include <config.h>
#include <stdlib.h>
#include <gtk/gtksignal.h>
+#include <gtk/gtkobject.h>
#include <gnome-xml/parser.h>
#include <gnome-xml/xmlmemory.h>
#include "gal/util/e-util.h"
#include "gal/util/e-xml-utils.h"
#include "e-table-state.h"
+
#define PARENT_TYPE (gtk_object_get_type())
#define STATE_VERSION 0.1
@@ -46,6 +48,8 @@ etst_class_init (GtkObjectClass *klass)
static void
etst_init (ETableState *state)
{
+ GTK_OBJECT_UNSET_FLAGS (GTK_OBJECT (state), GTK_FLOATING);
+
state->columns = NULL;
state->expansions = NULL;
state->sort_info = e_table_sort_info_new();