summaryrefslogtreecommitdiff
path: root/plugins/Popup/src/notifications.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Popup/src/notifications.cpp')
-rw-r--r--plugins/Popup/src/notifications.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/Popup/src/notifications.cpp b/plugins/Popup/src/notifications.cpp
index 3652582256..413959315a 100644
--- a/plugins/Popup/src/notifications.cpp
+++ b/plugins/Popup/src/notifications.cpp
@@ -211,11 +211,11 @@ HANDLE RegisterNotification(POPUPNOTIFICATION *notification)
mir_snprintf(section, SIZEOF(section), "Popups/%s", notification->lpzGroup);
mir_snprintf(setting, MODULNAME"_%s_%s", notification->lpzGroup, notification->lpzName);
- SKINICONDESC sid = { sizeof(sid) };
- sid.pszSection = section;
+ SKINICONDESC sid = { 0 };
+ sid.section.a = section;
sid.cx = sid.cy = 16;
sid.pszName = setting;
- sid.pszDescription = notification->lpzName;
+ sid.description.a = notification->lpzName;
sid.hDefaultIcon = notification->lchIcon;
Skin_AddIcon(&sid);