summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ui/window.c2
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();