gnash-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnash-commit] gnash ChangeLog gui/gtk.cpp gui/gtksup.h gui/gu...


From: Sandro Santilli
Subject: [Gnash-commit] gnash ChangeLog gui/gtk.cpp gui/gtksup.h gui/gu...
Date: Sat, 23 Sep 2006 15:06:53 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Changes by:     Sandro Santilli <strk>  06/09/23 15:06:53

Modified files:
        .              : ChangeLog 
        gui            : gtk.cpp gtksup.h gui.h sdl.cpp sdlsup.h 

Log message:
        const-corrected createWindow() function.

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.902&r2=1.903
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.21&r2=1.22
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtksup.h?cvsroot=gnash&r1=1.17&r2=1.18
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gui.h?cvsroot=gnash&r1=1.12&r2=1.13
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdl.cpp?cvsroot=gnash&r1=1.20&r2=1.21
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/sdlsup.h?cvsroot=gnash&r1=1.12&r2=1.13

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/gnash/gnash/ChangeLog,v
retrieving revision 1.902
retrieving revision 1.903
diff -u -b -r1.902 -r1.903
--- ChangeLog   23 Sep 2006 15:01:40 -0000      1.902
+++ ChangeLog   23 Sep 2006 15:06:52 -0000      1.903
@@ -1,5 +1,7 @@
 2006-09-23 Sandro Santilli  <address@hidden>
 
+       * gui/gtk.cpp, gui/gtksup.h, gui/gui.h, gui/sdl.cpp, gui/sdlsup.h:
+         const-corrected createWindow() function.
        * gui/Player.{h,cpp}: new class to simplify player startup.
        * gui/gnash.cpp, gui/sdl.cpp: moved parsing of -c switch from
          gnash to sdl gui.

Index: gui/gtk.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -b -r1.21 -r1.22
--- gui/gtk.cpp 18 Sep 2006 09:32:39 -0000      1.21
+++ gui/gtk.cpp 23 Sep 2006 15:06:53 -0000      1.22
@@ -86,7 +86,7 @@
 
 
 bool
-GtkGui::createWindow(char *title, int width, int height)
+GtkGui::createWindow(const char *title, int width, int height)
 {
 //First call the old createWindow function and then set the title.
 //In case there's some need to not setting the title.

Index: gui/gtksup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gtksup.h,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- gui/gtksup.h        18 Sep 2006 13:15:39 -0000      1.17
+++ gui/gtksup.h        23 Sep 2006 15:06:53 -0000      1.18
@@ -72,7 +72,7 @@
     virtual ~GtkGui();
     virtual bool init(int argc, char **argv[]);
     virtual bool createWindow(int width, int height);
-    virtual bool createWindow(char *title, int width, int height);
+    virtual bool createWindow(const char *title, int width, int height);
     virtual bool run(void *arg);    
     virtual bool createMenu();
     virtual bool setupEvents();

Index: gui/gui.h
===================================================================
RCS file: /sources/gnash/gnash/gui/gui.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/gui.h   14 Sep 2006 23:54:22 -0000      1.12
+++ gui/gui.h   23 Sep 2006 15:06:53 -0000      1.13
@@ -81,7 +81,7 @@
     // 
     /// Default implementation discards title and calls the above version
     ///
-    virtual bool createWindow(char* /*title*/, int width, int height) {
+    virtual bool createWindow(const char* /*title*/, int width, int height) {
        return createWindow(width, height);
     }
 

Index: gui/sdl.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/sdl.cpp,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -b -r1.20 -r1.21
--- gui/sdl.cpp 23 Sep 2006 11:20:55 -0000      1.20
+++ gui/sdl.cpp 23 Sep 2006 15:06:53 -0000      1.21
@@ -262,7 +262,7 @@
 }
 
 bool
-SDLGui::createWindow(char *title, int width, int height)
+SDLGui::createWindow(const char *title, int width, int height)
 {
    bool ret;
 

Index: gui/sdlsup.h
===================================================================
RCS file: /sources/gnash/gnash/gui/sdlsup.h,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -b -r1.12 -r1.13
--- gui/sdlsup.h        14 Sep 2006 23:54:22 -0000      1.12
+++ gui/sdlsup.h        23 Sep 2006 15:06:53 -0000      1.13
@@ -63,7 +63,7 @@
     virtual ~SDLGui();
     virtual bool init(int argc, char **argv[]);
     virtual bool createWindow( int width, int height);
-    virtual bool createWindow(char *title, int width, int height);
+    virtual bool createWindow(const char *title, int width, int height);
     virtual bool run(void *arg);
     virtual bool createMenu();
     virtual bool setupEvents();




reply via email to

[Prev in Thread] Current Thread [Next in Thread]