diff options
Diffstat (limited to 'packages/gtk2/examples/helloworld/helloworld.pas')
-rw-r--r-- | packages/gtk2/examples/helloworld/helloworld.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/gtk2/examples/helloworld/helloworld.pas b/packages/gtk2/examples/helloworld/helloworld.pas index b929707fa1..b55f61e0fe 100644 --- a/packages/gtk2/examples/helloworld/helloworld.pas +++ b/packages/gtk2/examples/helloworld/helloworld.pas @@ -12,7 +12,7 @@ begin g_print ('Hello World'#13#10); end; -function delete_event( Widget: PGtkWidget; Event: PGdkEvent; Data: gpointer):gint; cdecl; +function delete_event( Widget: PGtkWidget; Event: PGdkEvent; Data: gpointer):gboolean; cdecl; begin (* If you return FALSE in the "delete_event" signal handler, * GTK will emit the "destroy" signal. Returning TRUE means |