[gimp] plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it
- Date: Mon, 30 May 2016 23:19:52 +0000 (UTC)
commit bb9b899f37ad2d663446efa8411ed60ad95f0eea
Author: Michael Natterer <mitch gimp org>
Date: Tue May 31 01:19:12 2016 +0200
plug-ins: set SCREENSHOT_CAN_SHOOT_REGION on backends that support it
plug-ins/screenshot/screenshot-gnome-shell.c | 3 ++-
plug-ins/screenshot/screenshot-osx.c | 3 ++-
plug-ins/screenshot/screenshot-x11.c | 2 ++
3 files changed, 6 insertions(+), 2 deletions(-)
---
diff --git a/plug-ins/screenshot/screenshot-gnome-shell.c b/plug-ins/screenshot/screenshot-gnome-shell.c
index 5031f23..84e3606 100644
--- a/plug-ins/screenshot/screenshot-gnome-shell.c
+++ b/plug-ins/screenshot/screenshot-gnome-shell.c
@@ -70,7 +70,8 @@ ScreenshotCapabilities
screenshot_gnome_shell_get_capabilities (void)
{
return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
- SCREENSHOT_CAN_SHOOT_POINTER);
+ SCREENSHOT_CAN_SHOOT_POINTER |
+ SCREENSHOT_CAN_SHOOT_REGION);
}
GimpPDBStatusType
diff --git a/plug-ins/screenshot/screenshot-osx.c b/plug-ins/screenshot/screenshot-osx.c
index f6836c4..5406b1c 100644
--- a/plug-ins/screenshot/screenshot-osx.c
+++ b/plug-ins/screenshot/screenshot-osx.c
@@ -66,7 +66,8 @@ ScreenshotCapabilities
screenshot_osx_get_capabilities (void)
{
return (SCREENSHOT_CAN_SHOOT_DECORATIONS |
- SCREENSHOT_CAN_SHOOT_POINTER);
+ SCREENSHOT_CAN_SHOOT_POINTER |
+ SCREENSHOT_CAN_SHOOT_REGION);
}
GimpPDBStatusType
diff --git a/plug-ins/screenshot/screenshot-x11.c b/plug-ins/screenshot/screenshot-x11.c
index f889762..95772dc 100644
--- a/plug-ins/screenshot/screenshot-x11.c
+++ b/plug-ins/screenshot/screenshot-x11.c
@@ -556,6 +556,8 @@ screenshot_x11_get_capabilities (void)
capabilities |= SCREENSHOT_CAN_SHOOT_POINTER;
#endif
+ capabilities |= SCREENSHOT_CAN_SHOOT_REGION;
+
return capabilities;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]