Search
lxdream.org :: lxdream/src/gtkui/gtk_win.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/gtkui/gtk_win.c
changeset 887:8b3ee741c9d7
prev854:130928a3cdcb
next889:5baaea6d9722
author nkeynes
date Mon Oct 20 06:11:10 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Fix const-correctness
file annotate diff log raw
1.1 --- a/src/gtkui/gtk_win.c Tue Sep 09 00:51:43 2008 +0000
1.2 +++ b/src/gtkui/gtk_win.c Mon Oct 20 06:11:10 2008 +0000
1.3 @@ -35,6 +35,7 @@
1.4 #include "display.h"
1.5 #include "gdrom/gdrom.h"
1.6 #include "gtkui/gtkui.h"
1.7 +#include "drivers/video_gl.h"
1.8
1.9
1.10 struct main_window_info {
1.11 @@ -336,7 +337,7 @@
1.12 return win;
1.13 }
1.14
1.15 -void main_window_set_status_text( main_window_t win, char *text )
1.16 +void main_window_set_status_text( main_window_t win, const char *text )
1.17 {
1.18 gtk_statusbar_pop( GTK_STATUSBAR(win->statusbar), 1 );
1.19 if( win->is_grabbed ) {
1.20 @@ -354,7 +355,7 @@
1.21
1.22 void main_window_set_running( main_window_t win, gboolean running )
1.23 {
1.24 - char *text = running ? _("Running") : _("Stopped");
1.25 + const char *text = running ? _("Running") : _("Stopped");
1.26 gtk_gui_enable_action( "Pause", running );
1.27 gtk_gui_enable_action( "Run", !running && dreamcast_can_run() );
1.28 main_window_set_status_text( win, text );
.