summaryrefslogtreecommitdiff
path: root/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
committerroot <root@rshg054.dnsready.net>2012-08-05 00:04:11 +0000
commit9b4356a4ce894946739f7fff9411f62be0fbc122 (patch)
tree29999235b5b73068c5ddb4dc1239dcf7c66397fa /community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
parentf8ac5d4703080cc87ba2fe36f68df745d3a5f62f (diff)
Sun Aug 5 00:04:11 UTC 2012
Diffstat (limited to 'community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch')
-rw-r--r--community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
new file mode 100644
index 000000000..6202e7b87
--- /dev/null
+++ b/community-testing/qtcurve-kde4/fix-kwin_decoration-macro.patch
@@ -0,0 +1,15 @@
+diff -Naur a/kwin/qtcurvehandler.cpp b/kwin/qtcurvehandler.cpp
+--- a/kwin/qtcurvehandler.cpp 2012-08-02 13:36:58.811347708 +0000
++++ b/kwin/qtcurvehandler.cpp 2012-08-02 13:38:03.240996792 +0000
+@@ -489,6 +489,11 @@
+
+ extern "C"
+ {
++ KWIN_EXPORT int decoration_version()
++ {
++ return KWIN_DECORATION_API_VERSION;
++ }
++
+ KDE_EXPORT KDecorationFactory *create_factory()
+ {
+ KWinQtCurve::handler = new KWinQtCurve::QtCurveHandler();