projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5cacdd9
)
Fix Gtk-CRITICAL **: gtk_label_set_text: assertion `GTK_IS_LABEL (label)' failed
author
Laurent Monin
<geeqie@norz.org>
Mon, 5 May 2008 07:46:32 +0000
(07:46 +0000)
committer
Laurent Monin
<geeqie@norz.org>
Mon, 5 May 2008 07:46:32 +0000
(07:46 +0000)
when swapping to/from file icon view.
src/view_file_icon.c
patch
|
blob
|
history
diff --git
a/src/view_file_icon.c
b/src/view_file_icon.c
index
9ac7608
..
ab81552
100644
(file)
--- a/
src/view_file_icon.c
+++ b/
src/view_file_icon.c
@@
-627,7
+627,7
@@
static void tip_update(ViewFile *vf, IconData *id)
}
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