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)
This commit is contained in:
Matthias Clasen
2005-08-23 12:48:05 +00:00
committed by Matthias Clasen
parent 5d92338153
commit d0ef4dec81
4 changed files with 17 additions and 1 deletions

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -1,3 +1,8 @@
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.

View File

@@ -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);