[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] gnash/gui gnash.cpp
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] gnash/gui gnash.cpp |
Date: |
Wed, 26 Jul 2006 19:11:58 +0000 |
CVSROOT: /sources/gnash
Module name: gnash
Changes by: Sandro Santilli <strk> 06/07/26 19:11:57
Modified files:
gui : gnash.cpp
Log message:
Initialized void* app to null (for cases in which USE_KDE is not
defined - would it work?)
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gnash.cpp?cvsroot=gnash&r1=1.17&r2=1.18
Patches:
Index: gnash.cpp
===================================================================
RCS file: /sources/gnash/gnash/gui/gnash.cpp,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -b -r1.17 -r1.18
--- gnash.cpp 26 Jul 2006 19:01:45 -0000 1.17
+++ gnash.cpp 26 Jul 2006 19:11:57 -0000 1.18
@@ -115,7 +115,7 @@
#ifdef USE_KDE
QApplication *app = new QApplication(argc, argv);
#else
- void *app;
+ void *app=NULL;
#endif
#if defined(RENDERER_CAIRO)
unsigned int bit_depth = 32;
@@ -350,6 +350,8 @@
gui.setTimeout((unsigned int)(exit_timeout * 1000));
}
+ // @@ is it ok for 'app' to be NULL ?
+ // (this would be the case when USE_KDE is not defined)
gui.run(app);
// Clean up as much as possible, so valgrind will help find actual leaks.
- [Gnash-commit] gnash/gui gnash.cpp,
Sandro Santilli <=