[MPlayer-cvslog] r36145 - in trunk/gui/dialog: about.c equalizer.c fileselect.c msgbox.c playlist.c preferences.c skinbrowser.c url.c
ib
subversion at mplayerhq.hu
Thu Apr 4 12:45:30 CEST 2013
Author: ib
Date: Thu Apr 4 12:45:30 2013
New Revision: 36145
Log:
Remove all gtk_object_set_data() calls.
There is no gtk_object_get_data() call that would make use of it.
Modified:
trunk/gui/dialog/about.c
trunk/gui/dialog/equalizer.c
trunk/gui/dialog/fileselect.c
trunk/gui/dialog/msgbox.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/about.c
==============================================================================
--- trunk/gui/dialog/about.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/about.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -61,7 +61,6 @@ static GtkWidget * CreateAbout( void )
About=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( About,MSGTR_About );
- gtk_object_set_data( GTK_OBJECT( About ),MSGTR_About,About );
gtk_widget_set_usize( About,340,415 );
gtk_window_set_title( GTK_WINDOW( About ),MSGTR_About );
gtk_window_set_position( GTK_WINDOW( About ),GTK_WIN_POS_CENTER );
Modified: trunk/gui/dialog/equalizer.c
==============================================================================
--- trunk/gui/dialog/equalizer.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/equalizer.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -259,7 +259,6 @@ static GtkWidget * CreateEqualizer( void
Equalizer=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( Equalizer,MSGTR_Equalizer );
- gtk_object_set_data( GTK_OBJECT( Equalizer ),MSGTR_Equalizer,Equalizer );
gtk_widget_set_usize( Equalizer,-1,256 );
gtk_window_set_title( GTK_WINDOW( Equalizer ),MSGTR_Equalizer );
gtk_window_set_position( GTK_WINDOW( Equalizer ),GTK_WIN_POS_CENTER );
@@ -595,7 +594,6 @@ GtkWidget * CreateEquConfig( void )
EquConfig=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( EquConfig,"EquConfig" );
- gtk_object_set_data( GTK_OBJECT( EquConfig ),"EquConfig",EquConfig );
gtk_widget_set_usize( EquConfig,350,260 );
GTK_WIDGET_SET_FLAGS( EquConfig,GTK_CAN_DEFAULT );
gtk_window_set_title( GTK_WINDOW( EquConfig ),MSGTR_ConfigureEqualizer );
Modified: trunk/gui/dialog/fileselect.c
==============================================================================
--- trunk/gui/dialog/fileselect.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/fileselect.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -606,7 +606,6 @@ static GtkWidget *CreateFileSelect(void)
FileSelector = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name(FileSelector, "FileSelector");
- gtk_object_set_data(GTK_OBJECT(FileSelector), "FileSelector", FileSelector);
gtk_widget_set_usize(FileSelector, 512, 300);
GTK_WIDGET_SET_FLAGS(FileSelector, GTK_CAN_DEFAULT);
gtk_widget_set_events(FileSelector, GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_FOCUS_CHANGE_MASK | GDK_STRUCTURE_MASK | GDK_PROPERTY_CHANGE_MASK | GDK_VISIBILITY_NOTIFY_MASK);
Modified: trunk/gui/dialog/msgbox.c
==============================================================================
--- trunk/gui/dialog/msgbox.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/msgbox.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -56,7 +56,6 @@ static GtkWidget * CreateMessageBox( voi
MessageBox=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( MessageBox,"MessageBox" );
- gtk_object_set_data( GTK_OBJECT( MessageBox ),"MessageBox",MessageBox );
gtk_widget_set_events( MessageBox,GDK_EXPOSURE_MASK | GDK_KEY_PRESS_MASK | GDK_KEY_RELEASE_MASK | GDK_VISIBILITY_NOTIFY_MASK );
gtk_window_set_title( GTK_WINDOW( MessageBox ),"MPlayer ..." );
gtk_window_set_position( GTK_WINDOW( MessageBox ),GTK_WIN_POS_CENTER );
Modified: trunk/gui/dialog/playlist.c
==============================================================================
--- trunk/gui/dialog/playlist.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/playlist.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -445,7 +445,6 @@ static GtkWidget * CreatePlaylist( void
accel_group=gtk_accel_group_new();
Playlist=gtk_window_new( GTK_WINDOW_TOPLEVEL );
- gtk_object_set_data( GTK_OBJECT( Playlist ),"PlayList",Playlist );
gtk_widget_set_usize( Playlist,512,384 );
gtk_window_set_title( GTK_WINDOW( Playlist ),MSGTR_PlayList );
gtk_window_set_position( GTK_WINDOW( Playlist ),GTK_WIN_POS_CENTER );
Modified: trunk/gui/dialog/preferences.c
==============================================================================
--- trunk/gui/dialog/preferences.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/preferences.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -566,7 +566,6 @@ static GtkWidget * CreatePreferences( vo
Preferences=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( Preferences,"Preferences" );
- gtk_object_set_data( GTK_OBJECT( Preferences ),"Preferences",Preferences );
gtk_window_set_title( GTK_WINDOW( Preferences ),MSGTR_Preferences );
gtk_window_set_position( GTK_WINDOW( Preferences ),GTK_WIN_POS_CENTER );
// gtk_window_set_policy( GTK_WINDOW( Preferences ),FALSE,FALSE,FALSE );
@@ -1567,7 +1566,6 @@ static GtkWidget *CreateAudioConfig( voi
AudioConfig = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name(AudioConfig, "AudioConfig");
- gtk_object_set_data(GTK_OBJECT(AudioConfig), "AudioConfig", AudioConfig);
gtk_window_set_title(GTK_WINDOW(AudioConfig), MSGTR_AudioPreferences);
gtk_window_set_position(GTK_WINDOW(AudioConfig), GTK_WIN_POS_CENTER);
gtk_window_set_policy(GTK_WINDOW(AudioConfig), FALSE, FALSE, FALSE);
@@ -1766,7 +1764,6 @@ GtkWidget * CreateDXR3Config( void )
DXR3Config=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( DXR3Config,"DXR3Config" );
- gtk_object_set_data( GTK_OBJECT( DXR3Config ),"DXR3Config",DXR3Config );
// gtk_widget_set_usize( DXR3Config,300,156 );
GTK_WIDGET_SET_FLAGS( DXR3Config,GTK_CAN_DEFAULT );
gtk_window_set_title( GTK_WINDOW( DXR3Config ),"DXR3/H+" );
Modified: trunk/gui/dialog/skinbrowser.c
==============================================================================
--- trunk/gui/dialog/skinbrowser.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/skinbrowser.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -100,7 +100,6 @@ static GtkWidget * CreateSkinBrowser( vo
SkinBrowser=gtk_window_new( GTK_WINDOW_TOPLEVEL );
gtk_widget_set_name( SkinBrowser,MSGTR_SkinBrowser );
- gtk_object_set_data( GTK_OBJECT( SkinBrowser ),MSGTR_SkinBrowser,SkinBrowser );
gtk_widget_set_usize( SkinBrowser,256,320 );
gtk_container_set_border_width( GTK_CONTAINER( SkinBrowser ),1 );
GTK_WIDGET_SET_FLAGS( SkinBrowser,GTK_CAN_DEFAULT );
Modified: trunk/gui/dialog/url.c
==============================================================================
--- trunk/gui/dialog/url.c Thu Apr 4 11:41:25 2013 (r36144)
+++ trunk/gui/dialog/url.c Thu Apr 4 12:45:30 2013 (r36145)
@@ -86,7 +86,6 @@ static GtkWidget *CreateURLDialog(void)
URLDialog = gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_set_name(URLDialog, "URL");
- gtk_object_set_data(GTK_OBJECT(URLDialog), "URL", URLDialog);
gtk_widget_set_usize(URLDialog, 384, 70);
GTK_WIDGET_SET_FLAGS(URLDialog, GTK_CAN_DEFAULT);
gtk_window_set_title(GTK_WINDOW(URLDialog), MSGTR_Network);
More information about the MPlayer-cvslog
mailing list