diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-04-21 12:05:00 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2010-04-21 20:18:39 +0800 |
commit | a4cb2af92266116c86703b59ce5d92baf259d610 (patch) | |
tree | f57da6f8453ee6682357f3372b2b21aa2be76d41 /widgets/table/e-tree.c | |
parent | c99b9f5849ea09b7aae6a1e10f07bb3c2f2e287f (diff) | |
download | gsoc2013-evolution-a4cb2af92266116c86703b59ce5d92baf259d610.tar.gz gsoc2013-evolution-a4cb2af92266116c86703b59ce5d92baf259d610.tar.zst gsoc2013-evolution-a4cb2af92266116c86703b59ce5d92baf259d610.zip |
Fix compiler warnings.
Diffstat (limited to 'widgets/table/e-tree.c')
-rw-r--r-- | widgets/table/e-tree.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/widgets/table/e-tree.c b/widgets/table/e-tree.c index f14c72b4dd..f813b64e8f 100644 --- a/widgets/table/e-tree.c +++ b/widgets/table/e-tree.c @@ -707,11 +707,13 @@ header_canvas_size_allocate (GtkWidget *widget, GtkAllocation *alloc, ETree *e_t static void e_tree_setup_header (ETree *e_tree) { + GtkWidget *widget; gchar *pointer; - e_tree->priv->header_canvas = GNOME_CANVAS (e_canvas_new ()); - gtk_widget_set_can_focus (e_tree->priv->header_canvas, FALSE); - gtk_widget_show (GTK_WIDGET (e_tree->priv->header_canvas)); + widget = e_canvas_new (); + gtk_widget_set_can_focus (widget, FALSE); + e_tree->priv->header_canvas = GNOME_CANVAS (widget); + gtk_widget_show (widget); pointer = g_strdup_printf("%p", (gpointer) e_tree); |