Skip to content

Commit

Permalink
Plugins/Development/Getting Started: rename CColor to CHyprColor (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
amaanq authored Dec 22, 2024
1 parent b82f549 commit 8fc51f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/Plugins/Development/Getting-Started.md
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}

Expand Down

0 comments on commit 8fc51f9

Please sign in to comment.