diff gui/dialog/about.c @ 36053:7affacef2f88

Define "MPlayer" string.
author ib
date Thu, 04 Apr 2013 11:47:39 +0000
parents caf1f563e0ee
children 8cc06dccebbb
line wrap: on
line diff
--- a/gui/dialog/about.c	Thu Apr 04 10:53:20 2013 +0000
+++ b/gui/dialog/about.c	Thu Apr 04 11:47:39 2013 +0000
@@ -18,6 +18,7 @@
 
 #include "config.h"
 #include "gui/app/app.h"
+#include "gui/app/gui.h"
 #include "help_mp.h"
 #include "version.h"
 
@@ -64,7 +65,7 @@
   gtk_window_set_title( GTK_WINDOW( About ),MSGTR_About );
   gtk_window_set_position( GTK_WINDOW( About ),GTK_WIN_POS_CENTER );
   gtk_window_set_policy( GTK_WINDOW( About ),TRUE,FALSE,FALSE );
-  gtk_window_set_wmclass( GTK_WINDOW( About ),"About","MPlayer" );
+  gtk_window_set_wmclass( GTK_WINDOW( About ),"About",MPlayer );
 
   gtk_widget_realize( About );
   gtkAddIcon( About );
@@ -98,7 +99,7 @@
 #endif
   gtk_widget_show( AboutText );
   gtk_container_add( GTK_CONTAINER( scrolledwindow1 ),AboutText );
-  snprintf(title, sizeof(title), MP_TITLE, "MPlayer");
+  snprintf(title, sizeof(title), MP_TITLE, MPlayer);
 #ifdef CONFIG_GTK2
   gtk_text_buffer_insert (AboutTextBuffer, &iter, title, -1);
   gtk_text_buffer_insert (AboutTextBuffer, &iter,