changeset 36051:aebe956868d9

Remove all gtk_object_set_data() calls. There is no gtk_object_get_data() call that would make use of it.
author ib
date Thu, 04 Apr 2013 10:45:30 +0000
parents 968e936dc898
children caf1f563e0ee
files gui/dialog/about.c gui/dialog/equalizer.c gui/dialog/fileselect.c gui/dialog/msgbox.c gui/dialog/playlist.c gui/dialog/preferences.c gui/dialog/skinbrowser.c gui/dialog/url.c
diffstat 8 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/gui/dialog/about.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/about.c	Thu Apr 04 10:45:30 2013 +0000
@@ -61,7 +61,6 @@
 
   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 );
--- a/gui/dialog/equalizer.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/equalizer.c	Thu Apr 04 10:45:30 2013 +0000
@@ -259,7 +259,6 @@
 
   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 @@
 
   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 );
--- a/gui/dialog/fileselect.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/fileselect.c	Thu Apr 04 10:45:30 2013 +0000
@@ -606,7 +606,6 @@
 
     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);
--- a/gui/dialog/msgbox.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/msgbox.c	Thu Apr 04 10:45:30 2013 +0000
@@ -56,7 +56,6 @@
 
  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 );
--- a/gui/dialog/playlist.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/playlist.c	Thu Apr 04 10:45:30 2013 +0000
@@ -445,7 +445,6 @@
   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 );
--- a/gui/dialog/preferences.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/preferences.c	Thu Apr 04 10:45:30 2013 +0000
@@ -566,7 +566,6 @@
 
   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 @@
 
   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 @@
 
  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+" );
--- a/gui/dialog/skinbrowser.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/skinbrowser.c	Thu Apr 04 10:45:30 2013 +0000
@@ -100,7 +100,6 @@
 
  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 );
--- a/gui/dialog/url.c	Thu Apr 04 09:41:25 2013 +0000
+++ b/gui/dialog/url.c	Thu Apr 04 10:45:30 2013 +0000
@@ -86,7 +86,6 @@
 
     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);