[gimp] plug-ins: fix the build in screenshot-osx.c
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: fix the build in screenshot-osx.c
- Date: Sat, 7 Nov 2015 23:18:09 +0000 (UTC)
commit 3f2efc5719a1133d38703e1d59032617f4785831
Author: Michael Natterer <mitch gimp org>
Date: Sun Nov 8 00:17:38 2015 +0100
plug-ins: fix the build in screenshot-osx.c
plug-ins/screenshot/screenshot-osx.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/screenshot/screenshot-osx.c b/plug-ins/screenshot/screenshot-osx.c
index b5add01..0645135 100644
--- a/plug-ins/screenshot/screenshot-osx.c
+++ b/plug-ins/screenshot/screenshot-osx.c
@@ -56,7 +56,7 @@
ScreenshotCapabilities
screenshot_osx_get_capabilities (void)
{
- return (SCREENSHOT_CAN_SHOOT_DECORATIONS ||
+ return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
SCREENSHOT_CAN_SHOOT_POINTER);
}
@@ -110,7 +110,7 @@ screenshot_osx_shoot (ScreenshotValues *shootvals,
*image_ID = gimp_file_load (GIMP_RUN_NONINTERACTIVE,
"/tmp/screenshot.png", "/tmp/screenshot.png");
- gimp_image_set_filename (image, "screenshot.png");
+ gimp_image_set_filename (*image_ID, "screenshot.png");
return GIMP_PDB_SUCCESS;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]