summaryrefslogtreecommitdiff
path: root/gdk/win32
diff options
context:
space:
mode:
Diffstat (limited to 'gdk/win32')
-rw-r--r--gdk/win32/gdksurface-win32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gdk/win32/gdksurface-win32.c b/gdk/win32/gdksurface-win32.c
index ce10a17055..932ca4a663 100644
--- a/gdk/win32/gdksurface-win32.c
+++ b/gdk/win32/gdksurface-win32.c
@@ -2158,9 +2158,7 @@ gdk_win32_surface_set_icon_list (GdkSurface *window,
/* Create the icons */
big_hicon = _gdk_win32_texture_to_hicon (big_texture);
- g_object_unref (big_texture);
small_hicon = _gdk_win32_texture_to_hicon (small_texture);
- g_object_unref (small_texture);
/* Set the icons */
SendMessageW (GDK_SURFACE_HWND (window), WM_SETICON, ICON_BIG,