gdm r6319 - in trunk: . gui/simple-greeter
- From: mccann svn gnome org
- To: svn-commits-list gnome org
- Subject: gdm r6319 - in trunk: . gui/simple-greeter
- Date: Mon, 21 Jul 2008 20:58:57 +0000 (UTC)
Author: mccann
Date: Mon Jul 21 20:58:57 2008
New Revision: 6319
URL: http://svn.gnome.org/viewvc/gdm?rev=6319&view=rev
Log:
2008-07-21 William Jon McCann <jmccann redhat com>
* gui/simple-greeter/gdm-user.c (get_filesystem_type):
Print a warning when filesystem type is NULL.
Modified:
trunk/ChangeLog
trunk/gui/simple-greeter/gdm-user.c
Modified: trunk/gui/simple-greeter/gdm-user.c
==============================================================================
--- trunk/gui/simple-greeter/gdm-user.c (original)
+++ trunk/gui/simple-greeter/gdm-user.c Mon Jul 21 20:58:57 2008
@@ -718,7 +718,7 @@
NULL,
&error);
if (file_info == NULL) {
- g_warning ("Unable to query filesystem type: %s", error->message);
+ g_warning ("Unable to query filesystem type for %s: %s", path, error->message);
g_error_free (error);
g_object_unref (file);
return NULL;
@@ -726,6 +726,9 @@
filesystem_type = g_strdup (g_file_info_get_attribute_string (file_info,
G_FILE_ATTRIBUTE_FILESYSTEM_TYPE));
+ if (filesystem_type == NULL) {
+ g_warning ("GIO returned NULL filesystem type for %s", path);
+ }
g_object_unref (file);
g_object_unref (file_info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]