[MPlayer-cvslog] r38499 - trunk/gui/dialog/playlist.c

ib subversion at mplayerhq.hu
Wed May 1 16:13:10 EEST 2024


Author: ib
Date: Wed May  1 16:13:10 2024
New Revision: 38499

Log:
Replace GTK_WIDGET_TYPE with G_OBJECT_TYPE.

The GUI should preferably use a more recent GTK+ 2 style.

Modified:
   trunk/gui/dialog/playlist.c

Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c	Wed May  1 16:10:36 2024	(r38498)
+++ trunk/gui/dialog/playlist.c	Wed May  1 16:13:10 2024	(r38499)
@@ -267,7 +267,7 @@ static gboolean plKeyReleased( GtkWidget
 {
  if (event->keyval == GDK_KEY_Return)
   {
-   if ( GTK_WIDGET_TYPE( widget ) == GTK_TYPE_CLIST )
+   if ( G_OBJECT_TYPE( widget ) == GTK_TYPE_CLIST )
     {
      switch ( GPOINTER_TO_INT( user_data) )
       {


More information about the MPlayer-cvslog mailing list