[MPlayer-cvslog] r33597 - trunk/gui/mplayer/widgets.c

ib subversion at mplayerhq.hu
Sun Jun 12 09:07:36 CEST 2011


Author: ib
Date: Sun Jun 12 09:07:32 2011
New Revision: 33597

Log:
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.

Modified:
   trunk/gui/mplayer/widgets.c

Modified: trunk/gui/mplayer/widgets.c
==============================================================================
--- trunk/gui/mplayer/widgets.c	Sun Jun 12 08:56:43 2011	(r33596)
+++ trunk/gui/mplayer/widgets.c	Sun Jun 12 09:07:32 2011	(r33597)
@@ -101,8 +101,8 @@ void gtkInit( void )
   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 );
  }


More information about the MPlayer-cvslog mailing list