Remove some special-casing of empty string which led to dangling pointers.
authorMatthias Clasen <mclasen@redhat.com>
Thu, 27 Apr 2006 20:25:26 +0000 (20:25 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Thu, 27 Apr 2006 20:25:26 +0000 (20:25 +0000)
commit86eb750432f5b39575eaccf0280b5094672556eb
tree40d842d20a5d937a656df7f16de3c0ae1405a33d
parent6ea2f9a2c60f8d3e33c4c181ae604fd4ffe33ce4
Remove some special-casing of empty string which led to dangling pointers.

2006-04-27  Matthias Clasen  <mclasen@redhat.com>

* glib/gbookmarkfile.c (g_bookmark_file_set_description)
(g_bookmark_file_set_title, g_bookmark_file_set_icon):
Remove some special-casing of empty string which led to
dangling pointers.  (#339337, Morten Welinder)
(expand_exec_line): Don't use printf() needlessly, handle
trailing '%' gracefully.  (#339338, Morten Welinder)
(is_element_full): Silence the compiler.
ChangeLog
ChangeLog.pre-2-12
glib/gbookmarkfile.c