[Xfce4-commits] <xfdesktop:master> Fix a critical error message on exit
Eric Koegel
noreply at xfce.org
Sun Sep 1 18:18:01 CEST 2013
Updating branch refs/heads/master
to 4593c562face6404bc85c1330151514d9127d59a (commit)
from 86a3dc66e2b27771e8c3997a0c2db8d4d9ef2f03 (commit)
commit 4593c562face6404bc85c1330151514d9127d59a
Author: Eric Koegel <eric.koegel at gmail.com>
Date: Sun Sep 1 19:13:24 2013 +0300
Fix a critical error message on exit
Don't free the context from gtk_widget_get_pango_context. The
widget owns that one.
src/xfdesktop-icon-view.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/src/xfdesktop-icon-view.c b/src/xfdesktop-icon-view.c
index 7c526eb..8a1b2d6 100644
--- a/src/xfdesktop-icon-view.c
+++ b/src/xfdesktop-icon-view.c
@@ -1911,7 +1911,6 @@ xfdesktop_icon_view_realize(GtkWidget *widget)
pctx = gtk_widget_get_pango_context(GTK_WIDGET(icon_view));
icon_view->priv->playout = pango_layout_new(pctx);
- g_object_unref(pctx);
if(icon_view->priv->font_size > 0) {
xfdesktop_icon_view_modify_font_size(icon_view,
More information about the Xfce4-commits
mailing list