mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2024-12-22 17:49:48 +01:00
Plugins/Development/Getting Started: rename CColor
to CHyprColor
(#911)
This commit is contained in:
parent
b82f549a33
commit
8fc51f9db6
1 changed files with 1 additions and 1 deletions
|
@ -85,7 +85,7 @@ APICALL EXPORT PLUGIN_DESCRIPTION_INFO PLUGIN_INIT(HANDLE handle) {
|
|||
// mismatched header versions.
|
||||
if (HASH != GIT_COMMIT_HASH) {
|
||||
HyprlandAPI::addNotification(PHANDLE, "[MyPlugin] Mismatched headers! Can't proceed.",
|
||||
CColor{1.0, 0.2, 0.2, 1.0}, 5000);
|
||||
CHyprColor{1.0, 0.2, 0.2, 1.0}, 5000);
|
||||
throw std::runtime_error("[MyPlugin] Version mismatch");
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue