Commit 2089205e authored by Alexander Larsson's avatar Alexander Larsson Committed by Alexander Larsson

Fixed bug that returned NULL if a filename was selected.

2001-03-26  Alexander Larsson  <alexl@redhat.com>

	* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
	Fixed bug that returned NULL if a filename was selected.
parent 11ed2b2e
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
2001-03-26 Alexander Larsson <alla@lysator.liu.se>
* gtk/gtkfilesel.c (gtk_file_selection_get_filename):
Fixed bug that returned NULL if a filename was selected.
2001-03-24 Havoc Pennington <hp@pobox.com>
* gtk/gtkthemes.c (gtk_theme_engine_load): improve error message
......
......@@ -868,7 +868,7 @@ gtk_file_selection_get_filename (GtkFileSelection *filesel)
if (text)
{
sys_filename = g_filename_from_utf8 (cmpl_completion_fullname (text, filesel->cmpl_state), -1, NULL, NULL, NULL);
if (sys_filename)
if (!sys_filename)
return nothing;
strncpy (something, sys_filename, sizeof (something));
g_free (sys_filename);
......
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