diff gui/mplayer/widgets.c @ 33509:645b0990ba4c

Replace GDK_WINDOW_XWINDOW by GDK_PIXMAP_XID. Although both macros lead to the same result, GDK_PIXMAP_XID intuitively gives the idea of what is happening.
author ib
date Sun, 12 Jun 2011 07:07:32 +0000
parents 72b4bbb515f3
children 140525bcc32f
line wrap: on
line diff
--- a/gui/mplayer/widgets.c	Sun Jun 12 06:56:43 2011 +0000
+++ b/gui/mplayer/widgets.c	Sun Jun 12 07:07:32 2011 +0000
@@ -101,8 +101,8 @@
   if ( !gdkIcon )
     gdkIcon=gdk_pixmap_colormap_create_from_xpm_d( win->window,gdk_colormap_get_system(),&gdkIconMask,&win->style->bg[GTK_STATE_NORMAL],(gchar **) mplayer_xpm );
 
-  guiIcon=GDK_WINDOW_XWINDOW( gdkIcon );
-  guiIconMask=GDK_WINDOW_XWINDOW( gdkIconMask );
+  guiIcon=GDK_PIXMAP_XID( gdkIcon );
+  guiIconMask=GDK_PIXMAP_XID( gdkIconMask );
 
   gtk_widget_destroy( win );
  }