"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gb.gtk/src/main.cpp" between
gambas-3.16.2.tar.bz2 and gambas-3.16.3.tar.bz2

About: Gambas is a graphical development environment based on a Basic interpreter with object extensions, a bit like Visual Basic (requires Qt).

main.cpp  (gambas-3.16.2.tar.bz2):main.cpp  (gambas-3.16.3.tar.bz2)
skipping to change at line 443 skipping to change at line 443
static void hook_main(int *argc, char ***argv) static void hook_main(int *argc, char ***argv)
{ {
static bool init = false; static bool init = false;
char *env; char *env;
if (init) if (init)
return; return;
env = getenv("GB_X11_INIT_THREADS"); env = getenv("GB_X11_INIT_THREADS");
if (env && atoi(env)) if (env && atoi(env))
XInitThreads(); XInitThreads();
gtk_init(argc, argv);
gApplication::init(argc, argv); gApplication::init(argc, argv);
gApplication::setDefaultTitle(GB.Application.Title()); gApplication::setDefaultTitle(GB.Application.Title());
gDesktop::init(); gDesktop::init();
gApplication::onEnterEventLoop = GB.Debug.EnterEventLoop; gApplication::onEnterEventLoop = GB.Debug.EnterEventLoop;
gApplication::onLeaveEventLoop = GB.Debug.LeaveEventLoop; gApplication::onLeaveEventLoop = GB.Debug.LeaveEventLoop;
MAIN_scale = gDesktop::scale(); MAIN_scale = gDesktop::scale();
#ifdef GDK_WINDOWING_X11 #ifdef GDK_WINDOWING_X11
#ifdef GTK3 #ifdef GTK3
 End of changes. 2 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)