Mercurial > geeqie
changeset 581:9b43b8256afe
Fix Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
when swapping to/from file icon view.
author | zas_ |
---|---|
date | Mon, 05 May 2008 07:46:32 +0000 |
parents | e27c374460d3 |
children | 8f696e43873d |
files | src/view_file_icon.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/view_file_icon.c Sun May 04 23:57:20 2008 +0000 +++ b/src/view_file_icon.c Mon May 05 07:46:32 2008 +0000 @@ -627,7 +627,7 @@ } label = g_object_get_data(G_OBJECT(VFICON_INFO(vf, tip_window)), "tip_label"); - gtk_label_set_text(GTK_LABEL(label), VFICON_INFO(vf, tip_id)->fd->name); + if (label) gtk_label_set_text(GTK_LABEL(label), VFICON_INFO(vf, tip_id)->fd->name); } } else