[Lazarus] Gtk3 "hello world" application crash

Krzysztof dibo20 at wp.pl
Tue Oct 1 22:09:40 CEST 2013


Hi,

According to this wiki page: http://wiki.freepascal.org/Gtk%2B3
I downloaded latest gtk3 headers from:
http://sourceforge.net/p/lazarus-ccr/svn/HEAD/tree/bindings/gtk3/

I have very simple Hello World application which is working fine on GTK2:

gtk_init(@argc, @argv);
windows := gtk_window_new(GTK_WINDOW_TOPLEVEL);
gtk_widget_show(window);
gtk_main();

but on GTK3 it crash on gtk_main(); (but I see main window for a few
milliseconds).
I know that GTK3 is on development stage, but is anyone successful using it
on this stage? Because last update of headers were over a year ago. There
are also missing main functions like g_signal_connect() or functions for
box layouts.

Linux Mint 14 64bit, XFCE edition
Free Pascal 2.6.2
Lazarus 1.0.8

Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20131001/a83beb39/attachment-0002.html>


More information about the Lazarus mailing list