[gimp] plug-ins: file-uri/uri.c initialize backends non-interactvely
- From: Martin Nordholts <martinn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: file-uri/uri.c initialize backends non-interactvely
- Date: Sun, 13 Feb 2011 09:30:13 +0000 (UTC)
commit 221f6d0085e036f674b902449969146f4ff9c036
Author: Martin Nordholts <martinn src gnome org>
Date: Sun Feb 13 10:32:31 2011 +0100
plug-ins: file-uri/uri.c initialize backends non-interactvely
In order for DISPLAY-less builds like our nightly Jenkins builds to be
able to query the file-uri plug-in, perform the backend initialization
in query() in run mode GIMP_RUN_NONINTERACTIVE instead of the
"unspecified" 0 == GIMP_RUN_INTERACTIVE run mode.
plug-ins/file-uri/uri.c | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-uri/uri.c b/plug-ins/file-uri/uri.c
index b5288ce..e8d7efe 100644
--- a/plug-ins/file-uri/uri.c
+++ b/plug-ins/file-uri/uri.c
@@ -99,7 +99,10 @@ query (void)
GError *error = NULL;
- if (! uri_backend_init (PLUG_IN_BINARY, FALSE, 0, &error))
+ if (! uri_backend_init (PLUG_IN_BINARY,
+ FALSE,
+ GIMP_RUN_NONINTERACTIVE,
+ &error))
{
g_message ("%s", error->message);
g_clear_error (&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]