[MPlayer-cvslog] r38493 - trunk/gui/dialog/dialog.c

ib subversion at mplayerhq.hu
Wed May 1 15:59:19 EEST 2024


Author: ib
Date: Wed May  1 15:59:19 2024
New Revision: 38493

Log:
Replace GDK_WINDOW_XWINDOW with GDK_WINDOW_XID.

GDK_WINDOW_XWINDOW is subject to removal.

Modified:
   trunk/gui/dialog/dialog.c

Modified: trunk/gui/dialog/dialog.c
==============================================================================
--- trunk/gui/dialog/dialog.c	Wed May  1 15:57:47 2024	(r38492)
+++ trunk/gui/dialog/dialog.c	Wed May  1 15:59:19 2024	(r38493)
@@ -165,7 +165,7 @@ void gtkInit(char *display_name)
  */
 void gtkAddIcon(GtkWidget *window)
 {
-    wsWindowIcon(XDISPLAY, GDK_WINDOW_XWINDOW(gtk_widget_get_window(window)), &guiIcon);
+    wsWindowIcon(XDISPLAY, GDK_WINDOW_XID(gtk_widget_get_window(window)), &guiIcon);
 }
 
 /**
@@ -243,7 +243,7 @@ void gtkMessageBox(int type, const gchar
  */
 void gtkSetLayer(GtkWidget *window)
 {
-    wsWindowLayer(XDISPLAY, GDK_WINDOW_XWINDOW(gtk_widget_get_window(window)), guiApp.videoWindow.isFullScreen);
+    wsWindowLayer(XDISPLAY, GDK_WINDOW_XID(gtk_widget_get_window(window)), guiApp.videoWindow.isFullScreen);
     gtkRaise(window);
 }
 
@@ -254,7 +254,7 @@ void gtkSetLayer(GtkWidget *window)
  */
 void gtkRaise(GtkWidget *window)
 {
-    wsWindowRaiseTop(XDISPLAY, GDK_WINDOW_XWINDOW(gtk_widget_get_window(window)));
+    wsWindowRaiseTop(XDISPLAY, GDK_WINDOW_XID(gtk_widget_get_window(window)));
 }
 
 static void gtkSelectInCList(GtkWidget *list, char *item)


More information about the MPlayer-cvslog mailing list