comparison src/audacious/main.c @ 4544:084dbc8d23da

removed variable "has_x11_connection" from main.c, needed to hookify some functions therefore
author mf0102 <0102@gmx.at>
date Mon, 12 May 2008 23:01:06 +0200
parents ed94ac6182df
children c9be7256db08
comparison
equal deleted inserted replaced
4543:ed94ac6182df 4544:084dbc8d23da
87 #endif 87 #endif
88 88
89 #include "icons-stock.h" 89 #include "icons-stock.h"
90 #include "images/audacious_player.xpm" 90 #include "images/audacious_player.xpm"
91 91
92 gboolean has_x11_connection = FALSE; /* do we have an X11 connection? */
93 static const gchar *application_name = N_("Audacious"); 92 static const gchar *application_name = N_("Audacious");
94 93
95 struct _AudCmdLineOpt { 94 struct _AudCmdLineOpt {
96 gchar **filenames; 95 gchar **filenames;
97 gint session; 96 gint session;
787 if (cfg.playlist_visible) 786 if (cfg.playlist_visible)
788 playlistwin_show(); 787 playlistwin_show();
789 788
790 hint_set_always(cfg.always_on_top); 789 hint_set_always(cfg.always_on_top);
791 790
792 has_x11_connection = TRUE;
793
794 resume_playback_on_startup(); 791 resume_playback_on_startup();
795 792
796 gtk_main(); 793 gtk_main();
797 794
798 GDK_THREADS_LEAVE(); 795 GDK_THREADS_LEAVE();