Commit 7bfee041 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

check for NULL pointer before passing it to g_utf8_normalize(). Just a

2004-06-03  Sven Neumann  <sven@gimp.org>

	* app/gui/file-open-location-dialog.c
	(file_open_location_completion): check for NULL pointer before
	passing it to g_utf8_normalize(). Just a workaround for a problem
	in GimpContainerView.
parent 28eaad7d
2004-06-03 Sven Neumann <sven@gimp.org>
* app/gui/file-open-location-dialog.c
(file_open_location_completion): check for NULL pointer before
passing it to g_utf8_normalize(). Just a workaround for a problem
in GimpContainerView.
2004-06-02 Sven Neumann <sven@gimp.org>
* INSTALL: more updates.
......
......@@ -183,6 +183,9 @@ file_open_location_completion (GtkEntryCompletion *completion,
1, &name,
-1);
if (! name)
return FALSE;
normalized = g_utf8_normalize (name, -1, G_NORMALIZE_ALL);
case_normalized = g_utf8_casefold (normalized, -1);
......
......@@ -183,6 +183,9 @@ file_open_location_completion (GtkEntryCompletion *completion,
1, &name,
-1);
if (! name)
return FALSE;
normalized = g_utf8_normalize (name, -1, G_NORMALIZE_ALL);
case_normalized = g_utf8_casefold (normalized, -1);
......
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