gimp r26922 - in trunk: . plug-ins/script-fu
- From: mitch svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26922 - in trunk: . plug-ins/script-fu
- Date: Thu, 11 Sep 2008 08:36:29 +0000 (UTC)
Author: mitch
Date: Thu Sep 11 08:36:29 2008
New Revision: 26922
URL: http://svn.gnome.org/viewvc/gimp?rev=26922&view=rev
Log:
2008-09-11 Michael Natterer <mitch gimp org>
* plug-ins/script-fu/script-fu-scripts.c (script_fu_run_command):
use g_set_error() instead of g_set_error_literal() which is only
available in glib 2.18.
Modified:
trunk/ChangeLog
trunk/plug-ins/script-fu/script-fu-scripts.c
Modified: trunk/plug-ins/script-fu/script-fu-scripts.c
==============================================================================
--- trunk/plug-ins/script-fu/script-fu-scripts.c (original)
+++ trunk/plug-ins/script-fu/script-fu-scripts.c Thu Sep 11 08:36:29 2008
@@ -677,7 +677,7 @@
if (ts_interpret_string (command))
{
- g_set_error_literal (error, 0, 0, output->str);
+ g_set_error (error, 0, 0, "%s", output->str);
}
else
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]