Commit 46951bd8 authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer
Browse files

don't call gtk_entry_set_text() with a NULL text.

2005-05-08  Michael Natterer  <mitch@gimp.org>

	* libgimpwidgets/gimppropwidgets.c (gimp_prop_entry_new)
	(gimp_prop_entry_notify): don't call gtk_entry_set_text() with a
	NULL text.
parent 2bcc9da9
2005-05-08 Michael Natterer <mitch@gimp.org>
* libgimpwidgets/gimppropwidgets.c (gimp_prop_entry_new)
(gimp_prop_entry_notify): don't call gtk_entry_set_text() with a
NULL text.
2005-05-08 Sven Neumann <sven@gimp.org>
* app/config/gimpbaseconfig.c: limit the tile-cache-size to
......
......@@ -1564,7 +1564,7 @@ gimp_prop_entry_new (GObject *config,
NULL);
entry = gtk_entry_new ();
gtk_entry_set_text (GTK_ENTRY (entry), value);
gtk_entry_set_text (GTK_ENTRY (entry), value ? value : "");
g_free (value);
......@@ -1625,7 +1625,7 @@ gimp_prop_entry_notify (GObject *config,
gimp_prop_entry_callback,
config);
gtk_entry_set_text (GTK_ENTRY (entry), value);
gtk_entry_set_text (GTK_ENTRY (entry), value ? value : "");
g_signal_handlers_unblock_by_func (entry,
gimp_prop_entry_callback,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment