librsvg r1170 - in trunk: . gdk-pixbuf-loader
- From: doml svn gnome org
- To: svn-commits-list gnome org
- Subject: librsvg r1170 - in trunk: . gdk-pixbuf-loader
- Date: Tue, 26 Aug 2008 15:15:55 +0000 (UTC)
Author: doml
Date: Tue Aug 26 15:15:55 2008
New Revision: 1170
URL: http://svn.gnome.org/viewvc/librsvg?rev=1170&view=rev
Log:
2008-08-26 Dominic Lachowicz <domlachowicz gmail com>
* gdk-pixbuf-loader/io-svg.c: #549418 - build failure: test-display.c
io-svg.c format not a string literal and no format arguments
* test-display.c: Ditto
Modified:
trunk/ChangeLog
trunk/gdk-pixbuf-loader/io-svg.c
trunk/test-display.c
Modified: trunk/gdk-pixbuf-loader/io-svg.c
==============================================================================
--- trunk/gdk-pixbuf-loader/io-svg.c (original)
+++ trunk/gdk-pixbuf-loader/io-svg.c Tue Aug 26 15:15:55 2008
@@ -54,7 +54,7 @@
{
if (err) {
*err = NULL;
- g_set_error (err, rsvg_error_quark (), code, reason);
+ g_set_error (err, rsvg_error_quark (), code, "%s", reason);
}
}
Modified: trunk/test-display.c
==============================================================================
--- trunk/test-display.c (original)
+++ trunk/test-display.c Tue Aug 26 15:15:55 2008
@@ -309,7 +309,7 @@
errmsg = gtk_message_dialog_new (GTK_WINDOW (info->window),
GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_MESSAGE_WARNING,
- GTK_BUTTONS_CLOSE, err->message);
+ GTK_BUTTONS_CLOSE, "%s", err->message);
gtk_dialog_run (GTK_DIALOG (errmsg));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]