~ubuntu-branches/ubuntu/vivid/gimp/vivid

« back to all changes in this revision

Viewing changes to app/core/gimp-modules.c

  • Committer: Package Import Robot
  • Author(s): Jordi Mallach
  • Date: 2012-05-08 18:50:03 UTC
  • mto: (1.1.26) (0.5.1 experimental)
  • mto: This revision was merged to the branch mainline in revision 71.
  • Revision ID: package-import@ubuntu.com-20120508185003-tltkvbaysf8d2426
ImportĀ upstreamĀ versionĀ 2.8.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 * gimpmodules.c
5
5
 * (C) 1999 Austin Donnelly <austin@gimp.org>
6
6
 *
7
 
 * This program is free software; you can redistribute it and/or modify
 
7
 * This program is free software: you can redistribute it and/or modify
8
8
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation; either version 2 of the License, or
 
9
 * the Free Software Foundation; either version 3 of the License, or
10
10
 * (at your option) any later version.
11
11
 *
12
12
 * This program is distributed in the hope that it will be useful,
15
15
 * GNU General Public License for more details.
16
16
 *
17
17
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program; if not, write to the Free Software
19
 
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
18
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
19
 */
21
20
 
22
21
#include "config.h"
138
137
 
139
138
      if (error)
140
139
        {
141
 
          gimp_message (gimp, NULL, GIMP_MESSAGE_ERROR, "%s", error->message);
 
140
          gimp_message_literal (gimp, NULL, GIMP_MESSAGE_ERROR, error->message);
142
141
          g_clear_error (&error);
143
142
        }
144
143
 
165
164
 
166
165
  if (module->load_inhibit)
167
166
    {
168
 
      str = g_string_append_c (str, G_SEARCHPATH_SEPARATOR);
169
 
      str = g_string_append (str, module->filename);
 
167
      g_string_append_c (str, G_SEARCHPATH_SEPARATOR);
 
168
      g_string_append (str, module->filename);
170
169
    }
171
170
}
172
171
 
214
213
 
215
214
      if (error)
216
215
        {
217
 
          gimp_message (gimp, NULL, GIMP_MESSAGE_ERROR, "%s", error->message);
 
216
          gimp_message_literal (gimp, NULL, GIMP_MESSAGE_ERROR, error->message);
218
217
          g_clear_error (&error);
219
218
        }
220
219
    }