summaryrefslogtreecommitdiff
path: root/slideshow
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2021-01-26 11:24:13 +0000
committerCaolán McNamara <caolanm@redhat.com>2021-01-27 10:22:18 +0100
commit3aa8656dcee396384dc540fb7785a4f5455ac3e6 (patch)
treec268aa464a25348a66be8dd10a46e1153d0a410a /slideshow
parentdf788fcc308bbf8950ad8a22a1f8290681b64f0d (diff)
rename Toolkit::Gtk3 to Toolkit::Gtk because Gtk2 support is gone
so the need to distinguish no longer exists Change-Id: I4c11ddffbfa77f04497c454358c1c707ecf1d162 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/109942 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'slideshow')
-rw-r--r--slideshow/source/engine/shapes/viewmediashape.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/slideshow/source/engine/shapes/viewmediashape.cxx b/slideshow/source/engine/shapes/viewmediashape.cxx
index fdcfde36aa8f..29c6405b8725 100644
--- a/slideshow/source/engine/shapes/viewmediashape.cxx
+++ b/slideshow/source/engine/shapes/viewmediashape.cxx
@@ -436,7 +436,7 @@ namespace slideshow::internal
sal_IntPtr nParentWindowHandle(0);
const SystemEnvData* pEnvData = mpMediaWindow->GetSystemData();
// tdf#139609 gtk doesn't need the handle, and fetching it is undesirable
- if (!pEnvData || pEnvData->toolkit != SystemEnvData::Toolkit::Gtk3)
+ if (!pEnvData || pEnvData->toolkit != SystemEnvData::Toolkit::Gtk)
nParentWindowHandle = mpMediaWindow->GetParentWindowHandle();
aArgs[ 0 ] <<= nParentWindowHandle;