aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-click-to-add.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-02-07 09:48:27 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-02-07 09:48:27 +0800
commit0cc56c014f68be35e3ac12ccc500ee3528cceea0 (patch)
treee2498f11066bf83247332cb05c40b4ff4fb76e83 /widgets/table/e-table-click-to-add.c
parent31e449ebed6a136e643ec3bf4c0d9f1b3fc87897 (diff)
downloadgsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.tar.gz
gsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.tar.zst
gsoc2013-evolution-0cc56c014f68be35e3ac12ccc500ee3528cceea0.zip
Bug 602416 - Changing shell views emits many runtime warnings
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r--widgets/table/e-table-click-to-add.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index e5c35fe93c..944e1dd268 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -570,6 +570,10 @@ etcta_init (ETableClickToAdd *etcta)
etcta->text = NULL;
etcta->rect = NULL;
+ /* Pick some arbitrary defaults. */
+ etcta->width = 12;
+ etcta->height = 6;
+
etcta->selection = e_table_selection_model_new();
g_signal_connect(etcta->selection, "cursor_changed",
G_CALLBACK (etcta_cursor_change), etcta);