(include "gvalue")
-(extern void g_value_set_char
+(extern void g_value_set_schar
(value (* GValue))
- (v_char gchar))
-(extern gchar g_value_get_char
+ (v_char gint8))
+(extern gint8 g_value_get_schar
(value (* (const GValue))))
(extern void g_value_set_uchar
(value (* GValue))
((int:= type (C-enum "G_TYPE_INTERFACE"))
(unimplemented "an interface"))
((int:= type (C-enum "G_TYPE_CHAR"))
- (C-call "g_value_get_char" gvalue))
+ (C-call "g_value_get_schar" gvalue))
((int:= type (C-enum "G_TYPE_UCHAR"))
(C-call "g_value_get_uchar" gvalue))
((int:= type (C-enum "G_TYPE_BOOLEAN"))
(let ((fundamental (C-call "G_TYPE_FUNDAMENTAL" gtype)))
(cond
((int:= fundamental (C-enum "G_TYPE_CHAR"))
- (C-call "g_value_set_char"
+ (C-call "g_value_set_schar"
gvalue (check-prop-char value name)))
((int:= fundamental (C-enum "G_TYPE_UCHAR"))
(C-call "g_value_set_uchar"
gboolean ret = FALSE;
- gdk_threads_enter ();
-
if (!g_source_is_destroyed (source))
ret = do_scheme (source);
- gdk_threads_leave ();
-
return ret;
}
return (initted);
init_signal_handling ();
- g_thread_init (NULL);
- gdk_threads_init ();
- gdk_threads_enter ();
if (gtk_init_check (argc, argv)) {
initted = TRUE;
gtk_main ();
destroy_scheme_source ();
}
- gdk_threads_leave ();
return initted;
}