Commit d0ef4dec authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

Fix a C99ism. (#314262, Robert Jeff Mitchell)

2005-08-23  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
	C99ism.  (#314262, Robert Jeff Mitchell)
parent 5d923381
2005-08-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
C99ism. (#314262, Robert Jeff Mitchell)
2005-08-22 Manish Singh <yosh@gimp.org>
* gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
......
2005-08-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
C99ism. (#314262, Robert Jeff Mitchell)
2005-08-22 Manish Singh <yosh@gimp.org>
* gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
......
2005-08-23 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkfilechooserdefault.c (shortcuts_append_desktop): Fix a
C99ism. (#314262, Robert Jeff Mitchell)
2005-08-22 Manish Singh <yosh@gimp.org>
* gtk/gtkicontheme.h: add declaration for _gtk_icon_theme_check_reload.
......
......@@ -1434,6 +1434,7 @@ static void
shortcuts_append_desktop (GtkFileChooserDefault *impl)
{
char *name;
const char *home;
GtkFilePath *path;
profile_start ("start", NULL);
......@@ -1441,7 +1442,7 @@ shortcuts_append_desktop (GtkFileChooserDefault *impl)
#ifdef G_OS_WIN32
name = _gtk_file_system_win32_get_desktop ();
#else
const char *home = g_get_home_dir ();
home = g_get_home_dir ();
if (home == NULL)
{
profile_end ("end - no home directory!?", NULL);
......
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