GNOME Bugzilla – Bug 156720
[PATCH] SEGFAULT in gtk_label_set_pattern()
Last modified: 2004-12-22 21:47:04 UTC
call gtk_label_set_pattern(label, NULL) which you'd think would essentialy "unset" the pattern, but instead segfaults. Note that there must be text already in the label to reproduce.
Created attachment 33169 [details] [review] This patch implements my expected behaviour. gtk_label_set_pattern(label, NULL) now "unsets" the pattern.
2004-11-03 Matthias Clasen <mclasen@redhat.com> * gtk/gtklabel.c (gtk_label_set_pattern_internal): Allow unsetting a pattern by passing NULL. (#156720, Tristan Van Berkom)