[glade3] * src/glade-window.c: Fixed use of uninitialized variables in warning messages, bug 634325, fix by
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glade3] * src/glade-window.c: Fixed use of uninitialized variables in warning messages, bug 634325, fix by
- Date: Sun, 9 Jan 2011 08:11:43 +0000 (UTC)
commit a48a9f6110795c34b975dfe8e2c9a4ff31524604
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Sun Jan 9 17:18:37 2011 +0900
* src/glade-window.c: Fixed use of uninitialized variables in warning messages,
bug 634325, fix by Alex Merry.
ChangeLog | 3 +++
src/glade-window.c | 6 ++----
2 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 7db528e..c8a20db 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -40,6 +40,9 @@
* plugins/gtk+/gtk+.xml.in: Setting some default HIG values for widgets as per bug 349447.
+ * src/glade-window.c: Fixed use of uninitialized variables in warning messages,
+ bug 634325, fix by Alex Merry.
+
2011-01-08 Tristan Van Berkom <tristanvb openismus com>
* gladeui/glade-utils.[ch], gladeui/glade-widget.c, gladeui/glade-builtins.c,
diff --git a/src/glade-window.c b/src/glade-window.c
index ef5614d..3b3ae23 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -877,8 +877,7 @@ recent_add (GladeWindow * window, const gchar * path)
uri = g_filename_to_uri (path, NULL, &error);
if (error)
{
- g_warning ("Could not convert uri \"%s\" to a local path: %s", uri,
- error->message);
+ g_warning ("Could not convert local path \"%s\" to a uri: %s", path, error->message);
g_error_free (error);
return;
}
@@ -910,8 +909,7 @@ recent_remove (GladeWindow * window, const gchar * path)
uri = g_filename_to_uri (path, NULL, &error);
if (error)
{
- g_warning ("Could not convert uri \"%s\" to a local path: %s", uri,
- error->message);
+ g_warning ("Could not convert local path \"%s\" to a uri: %s", path, error->message);
g_error_free (error);
return;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]