[MPlayer-cvslog] r38495 - in trunk/gui/dialog: equalizer.c fileselect.c playlist.c preferences.c skinbrowser.c url.c
ib
subversion at mplayerhq.hu
Wed May 1 16:03:57 EEST 2024
Author: ib
Date: Wed May 1 16:03:56 2024
New Revision: 38495
Log:
Replace gtk_button_box_set_spacing() with gtk_box_set_spacing().
gtk_button_box_set_spacing() was deprecated even before GTK+ 2.0.
Modified:
trunk/gui/dialog/equalizer.c
trunk/gui/dialog/fileselect.c
trunk/gui/dialog/playlist.c
trunk/gui/dialog/preferences.c
trunk/gui/dialog/skinbrowser.c
trunk/gui/dialog/url.c
Modified: trunk/gui/dialog/equalizer.c
==============================================================================
--- trunk/gui/dialog/equalizer.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/equalizer.c Wed May 1 16:03:56 2024 (r38495)
@@ -426,7 +426,7 @@ static GtkWidget * CreateEqualizer( void
hbuttonbox1=gtkAddHButtonBox( vbox1 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
Config=gtkAddButton( _(MSGTR_GUI_Configure),hbuttonbox1 );
Clear=gtkAddButton( _(MSGTR_GUI_Clear),hbuttonbox1 );
@@ -671,7 +671,7 @@ GtkWidget * CreateEquConfig( void )
hbuttonbox1=gtkAddHButtonBox( vbox1 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
ecOk=gtkAddButton( _(MSGTR_GUI_Ok),hbuttonbox1 );
ecCancel=gtkAddButton( _(MSGTR_GUI_Cancel),hbuttonbox1 );
Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/fileselect.c Wed May 1 16:03:56 2024 (r38495)
@@ -832,7 +832,7 @@ static GtkWidget *CreateFileSelect(void)
hbuttonbox3 = gtkAddHButtonBox(vbox4);
gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox3), GTK_BUTTONBOX_END);
- gtk_button_box_set_spacing(GTK_BUTTON_BOX(hbuttonbox3), 10);
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox3), 10);
fsOk = gtkAddButton(MSGTR_GUI_Ok, hbuttonbox3);
fsCancel = gtkAddButton(MSGTR_GUI_Cancel, hbuttonbox3);
Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/playlist.c Wed May 1 16:03:56 2024 (r38495)
@@ -558,7 +558,7 @@ static GtkWidget * CreatePlaylist( void
hbuttonbox1=gtkAddHButtonBox( vbox1 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
Add=gtkAddButton( _(MSGTR_GUI_Add),hbuttonbox1 );
Remove=gtkAddButton( _(MSGTR_GUI_Remove),hbuttonbox1 );
Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/preferences.c Wed May 1 16:03:56 2024 (r38495)
@@ -1138,7 +1138,7 @@ static GtkWidget * CreatePreferences( vo
hbuttonbox1=gtkAddHButtonBox( vbox1 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
BOk=gtkAddButton( _(MSGTR_GUI_Ok),hbuttonbox1 );
BCancel=gtkAddButton( _(MSGTR_GUI_Cancel),hbuttonbox1 );
@@ -1772,7 +1772,7 @@ static GtkWidget *CreateAudioConfig( voi
hbuttonbox = gtkAddHButtonBox(vbox);
gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox), GTK_BUTTONBOX_END);
- gtk_button_box_set_spacing(GTK_BUTTON_BOX(hbuttonbox), 10);
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox), 10);
BAudioOk = gtkAddButton(_(MSGTR_GUI_Ok), hbuttonbox);
BAudioCancel = gtkAddButton(_(MSGTR_GUI_Cancel), hbuttonbox);
@@ -1915,7 +1915,7 @@ GtkWidget * CreateDXR3Config( void )
hbuttonbox1=gtkAddHButtonBox( vbox1 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox1 ),GTK_BUTTONBOX_END );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox1 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
dxr3BOk=gtkAddButton( _(MSGTR_GUI_Ok),hbuttonbox1 );
dxr3BCancel=gtkAddButton( _(MSGTR_GUI_Cancel),hbuttonbox1 );
Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/skinbrowser.c Wed May 1 16:03:56 2024 (r38495)
@@ -135,7 +135,7 @@ void ShowSkinBrowser( void )
hbuttonbox4=gtkAddHButtonBox( vbox5 );
gtk_button_box_set_layout( GTK_BUTTON_BOX( hbuttonbox4 ),GTK_BUTTONBOX_SPREAD );
- gtk_button_box_set_spacing( GTK_BUTTON_BOX( hbuttonbox4 ),10 );
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox4), 10);
Ok=gtkAddButton( _(MSGTR_GUI_Ok),hbuttonbox4 );
Cancel=gtkAddButton( _(MSGTR_GUI_Cancel),hbuttonbox4 );
Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c Wed May 1 16:00:28 2024 (r38494)
+++ trunk/gui/dialog/url.c Wed May 1 16:03:56 2024 (r38495)
@@ -129,7 +129,7 @@ static GtkWidget *CreateURLDialog(void)
hbuttonbox1 = gtkAddHButtonBox(vbox1);
gtk_button_box_set_layout(GTK_BUTTON_BOX(hbuttonbox1), GTK_BUTTONBOX_END);
- gtk_button_box_set_spacing(GTK_BUTTON_BOX(hbuttonbox1), 10);
+ gtk_box_set_spacing(GTK_BOX(hbuttonbox1), 10);
Ok = gtkAddButton(_(MSGTR_GUI_Ok), hbuttonbox1);
Cancel = gtkAddButton(_(MSGTR_GUI_Cancel), hbuttonbox1);
More information about the MPlayer-cvslog
mailing list