Bug 456155 - New version for KWIN_EFFECT_API_VERSION?
Summary: New version for KWIN_EFFECT_API_VERSION?
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: compatibility (other bugs)
Version First Reported In: git master
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-30 05:22 UTC by Matin Lotfaliei
Modified: 2022-06-30 20:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matin Lotfaliei 2022-06-30 05:22:30 UTC
I noticed in **KDE Neon Unstable** that `ShaderManager::generateShaderFromFile` function in `kwinglutils.h` is now returning `std::unique_ptr` instead of a raw pointer. This is a very good thing!

But the `KWIN_EFFECT_API_VERSION` is still **234**. Shouldn't the version be updated to **235** as well with every change in the header file?
I mean how else can I have a code that runs on both the Stable and Unstable versions of KDE Neon?
Comment 1 Bug Janitor Service 2022-06-30 20:13:30 UTC
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/2597
Comment 2 Zamundaaa 2022-06-30 20:46:40 UTC
Git commit 1ee1e011a3b6ca1d0d3bea7a7b1c07bb14c08356 by Xaver Hugl, on behalf of Alexander Lohnau.
Committed on 30/06/2022 at 20:25.
Pushed by zamundaaa into branch 'master'.

Bump KWIn effects API version after changes to smart pointers in public API

M  +1    -1    src/libkwineffects/kwineffects.h

https://invent.kde.org/plasma/kwin/commit/1ee1e011a3b6ca1d0d3bea7a7b1c07bb14c08356