[MPlayer-cvslog] r38498 - trunk/gui/dialog/playlist.c
ib
subversion at mplayerhq.hu
Wed May 1 16:10:36 EEST 2024
Author: ib
Date: Wed May 1 16:10:36 2024
New Revision: 38498
Log:
Replace gtk_signal_handler_block() and gtk_signal_handler_unblock().
Replace them with g_signal_handler_block() and g_signal_handler_unblock().
gtk_signal_handler_block() and gtk_signal_handler_unblock() were
deprecated even before GTK+ 2.0.
Also, replace GTK_OBJECT with G_OBJECT.
Modified:
trunk/gui/dialog/playlist.c
Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c Wed May 1 16:09:01 2024 (r38497)
+++ trunk/gui/dialog/playlist.c Wed May 1 16:10:36 2024 (r38498)
@@ -196,9 +196,9 @@ static void plButtonReleased( GtkButton
{
int i; int j;
- gtk_signal_handler_block( GTK_OBJECT( CLSelected ),sigSel );
- gtk_signal_handler_block( GTK_OBJECT( CLSelected ),sigUnsel );
- gtk_signal_handler_block( GTK_OBJECT( CLSelected ),sigEvent );
+ g_signal_handler_block( G_OBJECT( CLSelected ),sigSel );
+ g_signal_handler_block( G_OBJECT( CLSelected ),sigUnsel );
+ g_signal_handler_block( G_OBJECT( CLSelected ),sigEvent );
gtk_clist_freeze( GTK_CLIST( CLSelected ) );
i = 0;
@@ -215,9 +215,9 @@ static void plButtonReleased( GtkButton
}
gtk_clist_thaw( GTK_CLIST( CLSelected ) );
- gtk_signal_handler_unblock( GTK_OBJECT( CLSelected ),sigSel );
- gtk_signal_handler_unblock( GTK_OBJECT( CLSelected ),sigUnsel );
- gtk_signal_handler_unblock( GTK_OBJECT( CLSelected ),sigEvent );
+ g_signal_handler_unblock( G_OBJECT( CLSelected ),sigSel );
+ g_signal_handler_unblock( G_OBJECT( CLSelected ),sigUnsel );
+ g_signal_handler_unblock( G_OBJECT( CLSelected ),sigEvent );
}
break;
More information about the MPlayer-cvslog
mailing list