[gtk+] text-cell-accessible: fix a double unref
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] text-cell-accessible: fix a double unref
- Date: Wed, 7 Nov 2012 20:48:00 +0000 (UTC)
commit f9db8007139c9ebf9f89044a1e68e69c0ade850a
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Nov 7 15:46:16 2012 -0500
text-cell-accessible: fix a double unref
We're unreffing the GtkCellRenderer object twice, causing the
application to crash when trying to access the renderer later.
https://bugzilla.gnome.org/show_bug.cgi?id=687872
gtk/a11y/gtktextcellaccessible.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtktextcellaccessible.c b/gtk/a11y/gtktextcellaccessible.c
index ce5777a..7088780 100644
--- a/gtk/a11y/gtktextcellaccessible.c
+++ b/gtk/a11y/gtktextcellaccessible.c
@@ -552,7 +552,6 @@ gtk_text_cell_accessible_get_character_extents (AtkText *text,
gail_renderer = GTK_RENDERER_CELL_ACCESSIBLE (text);
g_object_get (gail_renderer, "renderer", >k_renderer, NULL);
g_object_get (gtk_renderer, "text", &renderer_text, NULL);
- g_object_unref (gtk_renderer);
if (renderer_text == NULL)
{
g_object_unref (gtk_renderer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]