"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gb.gtk3/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 475 skipping to change at line 475
if (!strcasecmp(env, "X11")) if (!strcasecmp(env, "X11"))
putenv((char *)"GDK_BACKEND=x11"); putenv((char *)"GDK_BACKEND=x11");
else if (!strcasecmp(env, "WAYLAND")) else if (!strcasecmp(env, "WAYLAND"))
putenv((char *)"GDK_BACKEND=wayland"); putenv((char *)"GDK_BACKEND=wayland");
#endif #endif
else else
fprintf(stderr, "gb.gtk3: warning: unknown platform: %s\n ", env); fprintf(stderr, "gb.gtk3: warning: unknown platform: %s\n ", env);
} }
gApplication::init(argc, argv); gtk_init(argc, argv);
load_platform(); load_platform();
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();
if (GB.GetFunction(&_application_keypress_func, (void *)GB.Application.St artupClass(), "Application_KeyPress", "", "") == 0) if (GB.GetFunction(&_application_keypress_func, (void *)GB.Application.St artupClass(), "Application_KeyPress", "", "") == 0)
{ {
 End of changes. 2 change blocks. 
1 lines changed or deleted 3 lines changed or added

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