summaryrefslogtreecommitdiffstats
path: root/src/libgdl
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2011-07-09 14:58:25 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2011-07-09 14:58:25 +0000
commitf733c171b830be2914f2473dcac2ed5787ad8317 (patch)
treea1174304f464fd66ee6845fc6cd3fb3a12c12c63 /src/libgdl
parentMerge upstream GDL 0.7.9 changes (diff)
downloadinkscape-f733c171b830be2914f2473dcac2ed5787ad8317.tar.gz
inkscape-f733c171b830be2914f2473dcac2ed5787ad8317.zip
Merge upstream GDL 0.7.10 changes
(bzr r10432)
Diffstat (limited to 'src/libgdl')
-rw-r--r--src/libgdl/gdl-dock-item-grip.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libgdl/gdl-dock-item-grip.c b/src/libgdl/gdl-dock-item-grip.c
index 2101d9621..0c202812c 100644
--- a/src/libgdl/gdl-dock-item-grip.c
+++ b/src/libgdl/gdl-dock-item-grip.c
@@ -214,9 +214,11 @@ gdl_dock_item_grip_item_notify (GObject *master,
ensure_title_and_icon_pixbuf (grip);
} else if (strcmp (pspec->name, "long-name") == 0) {
+ if (grip->_priv->title_layout) {
+ g_object_unref (grip->_priv->title_layout);
+ grip->_priv->title_layout = NULL;
+ }
g_free (grip->_priv->title);
- g_object_unref (grip->_priv->title_layout);
- grip->_priv->title_layout = NULL;
grip->_priv->title = NULL;
ensure_title_and_icon_pixbuf (grip);
gtk_widget_queue_draw (GTK_WIDGET (grip));