mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-08-25 02:36:07 +00:00
Convert g_warning() about inability to write to ~/.gtk-bookmarks to
2008-05-29 Christian Neumair <cneumair@gnome.org> * src/nautilus-bookmark-list.c (nautilus_bookmark_list_save_file): Convert g_warning() about inability to write to ~/.gtk-bookmarks to g_message(). svn path=/trunk/; revision=14209
This commit is contained in:
parent
aea8624766
commit
5b0d79c2a5
|
@ -1,3 +1,9 @@
|
|||
2008-05-29 Christian Neumair <cneumair@gnome.org>
|
||||
|
||||
* src/nautilus-bookmark-list.c (nautilus_bookmark_list_save_file):
|
||||
Convert g_warning() about inability to write to ~/.gtk-bookmarks to
|
||||
g_message().
|
||||
|
||||
2008-05-29 Christian Neumair <cneumair@gnome.org>
|
||||
|
||||
* libnautilus-private/nautilus-dnd.c
|
||||
|
|
|
@ -524,7 +524,7 @@ nautilus_bookmark_list_save_file (NautilusBookmarkList *bookmarks)
|
|||
|
||||
out = (GOutputStream *)g_file_replace (file, NULL, FALSE, 0, NULL, &error);
|
||||
if (out == NULL) {
|
||||
g_warning ("Error opening bookmark file: %s\n", error->message);
|
||||
g_message ("Opening bookmark file failed: %s\n", error->message);
|
||||
goto error;
|
||||
}
|
||||
|
||||
|
@ -564,7 +564,7 @@ nautilus_bookmark_list_save_file (NautilusBookmarkList *bookmarks)
|
|||
}
|
||||
|
||||
if (!g_output_stream_close (out, NULL, &error)) {
|
||||
g_warning ("Error closing bookmark file: %s\n", error->message);
|
||||
g_warning ("Closing bookmark file failed: %s\n", error->message);
|
||||
}
|
||||
|
||||
error:
|
||||
|
|
Loading…
Reference in a new issue