diff gtk/dw.c @ 672:388f2a48aaae

Missed one function to typedef. Fixed errors in the test program and switched to using the new HICN type after making sure the code built on the other platforms unmodified.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Sun, 27 Feb 2011 19:25:21 +0000
parents c60a4f6cfae8
children f25ed69adb47
line wrap: on
line diff
--- a/gtk/dw.c	Sun Feb 27 19:01:40 2011 +0000
+++ b/gtk/dw.c	Sun Feb 27 19:25:21 2011 +0000
@@ -4326,14 +4326,14 @@
  *       handle: Handle to the window.
  *       id: An ID to be used to specify the icon.
  */
-void dw_window_set_icon(HWND handle, unsigned long id)
+void dw_window_set_icon(HWND handle, HICN icon)
 {
    GdkBitmap *bitmap = NULL;
    GdkPixmap *icon_pixmap;
    int _locked_by_me = FALSE;
 
    DW_MUTEX_LOCK;
-   icon_pixmap = _find_pixmap(&bitmap, id, handle, NULL, NULL);
+   icon_pixmap = _find_pixmap(&bitmap, icon, handle, NULL, NULL);
 
    if(handle->window && icon_pixmap)
       gdk_window_set_icon(handle->window, NULL, icon_pixmap, bitmap);