summaryrefslogtreecommitdiff
path: root/src/Gtk/Internal.icl
diff options
context:
space:
mode:
authorCamil Staps2019-10-25 09:00:24 +0200
committerCamil Staps2019-10-25 09:00:24 +0200
commit1937e3368754d792ef4f9580b97b910b46d890bc (patch)
treee4a1d21873e20a5a9c324dd15329ad8b534948d7 /src/Gtk/Internal.icl
parentAdd tune instance for GSignalHandler (convenience) (diff)
Add G modifier to ccalls that may trigger GTK signals (which may cause re-entrance if there is a handler; add withPossibleCallback to save and retrieve state around such calls)
Diffstat (limited to 'src/Gtk/Internal.icl')
-rw-r--r--src/Gtk/Internal.icl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Gtk/Internal.icl b/src/Gtk/Internal.icl
index 0691bc9..52c648d 100644
--- a/src/Gtk/Internal.icl
+++ b/src/Gtk/Internal.icl
@@ -53,7 +53,7 @@ gtk_check_menu_item_new env = code {
gtk_check_menu_item_set_active :: !Pointer !Bool !.a -> .a
gtk_check_menu_item_set_active item setting env = code {
- ccall gtk_check_menu_item_set_active "pI:V:A"
+ ccall gtk_check_menu_item_set_active "GpI:V:A"
}
gtk_container_add :: !Pointer !Pointer !.a -> .a
@@ -88,7 +88,7 @@ gtk_dialog_new env = code {
gtk_dialog_run :: !Pointer !.a -> (!Int, !.a)
gtk_dialog_run dialog env = code {
- ccall gtk_dialog_run "p:I:A"
+ ccall gtk_dialog_run "Gp:I:A"
}
gtk_dialog_set_default_response :: !Pointer !Int !.a -> .a