Commit b38d9cec authored by Emmanuele Bassi's avatar Emmanuele Bassi Committed by Emmanuele Bassi

Fix a typo in the previous commit.

2007-06-26  Emmanuele Bassi  <ebassi@gnome.org>

	* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
	a typo in the previous commit.

	(shortcuts_append_desktop): Remove unused variable and
	hush the compiler warning.

svn path=/trunk/; revision=18249
parent 1bf057fa
2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Fix
a typo in the previous commit.
(shortcuts_append_desktop): Remove unused variable and
hush the compiler warning.
2007-06-26 Emmanuele Bassi <ebassi@gnome.org>
* gtk/gtkfilechooserdefault.c (list_mtime_data_func): Show
......
......@@ -1955,8 +1955,7 @@ shortcuts_append_home (GtkFileChooserDefault *impl)
static void
shortcuts_append_desktop (GtkFileChooserDefault *impl)
{
char *name;
const char *home;
const char *name;
GtkFilePath *path;
profile_start ("start", NULL);
......@@ -10971,12 +10970,16 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
if (!ptm)
{
date_str = g_strdup (_("Unknown"));
g_warning ("ptm != NULL failed");
goto done;
g_object_set (cell,
"text", _("Unknown"),
"sensitive", sensitive,
NULL);
return;
}
else
memcpy ((void *) &tm, (void *) ptm, sizeof (struct tm));
memcpy ((void *) &tm_mtime, (void *) ptm, sizeof (struct tm));
}
#endif /* HAVE_LOCALTIME_R */
......@@ -11005,7 +11008,6 @@ list_mtime_data_func (GtkTreeViewColumn *tree_column,
date_str = g_strdup (_("Unknown"));
}
done:
g_object_set (cell,
"text", date_str,
"sensitive", sensitive,
......
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