diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-22 13:44:47 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2020-07-22 13:44:47 +0300 |
commit | 6bd965b490b791e471b755e81887557bd14c755d (patch) | |
tree | a8df316ed7471e460b7e1ba49e410e2bd0a86539 /src | |
parent | da01481bc5c5462afac3521b2a383e3dce3ee2c0 (diff) |
Cleanup
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/window.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/window.c b/src/ui/window.c index c7ccdeb6..ce95bca4 100644 --- a/src/ui/window.c +++ b/src/ui/window.c | |||
@@ -274,6 +274,7 @@ void init_Window(iWindow *d) { | |||
274 | #endif | 274 | #endif |
275 | #if defined (iPlatformLinux) | 275 | #if defined (iPlatformLinux) |
276 | /* Load the window icon. */ { | 276 | /* Load the window icon. */ { |
277 | #if 0 | ||
277 | int w, h, num; | 278 | int w, h, num; |
278 | const iBlock *icon = &imageAppicon64_Embedded; | 279 | const iBlock *icon = &imageAppicon64_Embedded; |
279 | stbi_uc *pixels = stbi_load_from_memory(constData_Block(icon), | 280 | stbi_uc *pixels = stbi_load_from_memory(constData_Block(icon), |
@@ -287,6 +288,7 @@ void init_Window(iWindow *d) { | |||
287 | SDL_SetWindowIcon(d->win, surf); | 288 | SDL_SetWindowIcon(d->win, surf); |
288 | SDL_FreeSurface(surf); | 289 | SDL_FreeSurface(surf); |
289 | stbi_image_free(pixels); | 290 | stbi_image_free(pixels); |
291 | #endif | ||
290 | } | 292 | } |
291 | #endif | 293 | #endif |
292 | d->root = new_Widget(); | 294 | d->root = new_Widget(); |