~spyzer-abhishek0/+junk/gsoc2011

« back to all changes in this revision

Viewing changes to src/libgdl/gdl-dock-item-grip.c

  • Committer: Alex Valavanis
  • Date: 2011-07-09 14:58:25 UTC
  • Revision ID: valavanisalex@gmail.com-20110709145825-wrrtmx39h935hkzi
Merge upstream GDL 0.7.10 changes

Show diffs side-by-side

added added

removed removed

Lines of Context:
214
214
        ensure_title_and_icon_pixbuf (grip);
215
215
 
216
216
    } else if (strcmp (pspec->name, "long-name") == 0) {
 
217
        if (grip->_priv->title_layout) {
 
218
                g_object_unref (grip->_priv->title_layout);
 
219
                grip->_priv->title_layout = NULL;
 
220
        }
217
221
        g_free (grip->_priv->title);
218
 
        g_object_unref (grip->_priv->title_layout);
219
 
        grip->_priv->title_layout = NULL;
220
222
        grip->_priv->title = NULL;
221
223
        ensure_title_and_icon_pixbuf (grip);
222
224
        gtk_widget_queue_draw (GTK_WIDGET (grip));