mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-10 10:50:10 +00:00
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
This commit is contained in:
parent
178e072e8a
commit
f9db800713
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user