aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-header-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-header-utils.c')
-rw-r--r--widgets/table/e-table-header-utils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-header-utils.c b/widgets/table/e-table-header-utils.c
index fdbe5e201b..b9a0b9b8e5 100644
--- a/widgets/table/e-table-header-utils.c
+++ b/widgets/table/e-table-header-utils.c
@@ -308,8 +308,6 @@ e_table_draw_elided_string (GdkDrawable *drawable, GdkGC *gc, GtkWidget *widget,
y + height / 2 + i + 1);
}
}
-
- g_object_unref (layout);
}
static GtkWidget *g_label;
@@ -478,4 +476,6 @@ e_table_header_draw_button (GdkDrawable *drawable, ETableCol *ecol,
inner_x, inner_y,
layout, ecol->text, inner_width, TRUE);
}
+
+ g_object_unref (layout);
}