images.loader.gtk: remove call to deprecated g_type_init.
parent
cde510d69c
commit
6b1bb67ba6
|
@ -1,22 +1,18 @@
|
||||||
! Copyright (C) 2010 Philipp Brüschweiler.
|
! Copyright (C) 2010 Philipp Brüschweiler.
|
||||||
! See http://factorcode.org/license.txt for BSD license.
|
! See http://factorcode.org/license.txt for BSD license.
|
||||||
USING: accessors alien.c-types alien.data alien.libraries alien.syntax
|
USING: accessors alien.c-types alien.data alien.syntax arrays
|
||||||
arrays assocs combinators gdk.pixbuf.ffi glib.ffi gobject.ffi grouping
|
assocs combinators gdk.pixbuf.ffi glib.ffi gobject.ffi grouping
|
||||||
images images.loader init io kernel locals math sequences
|
images images.loader io kernel locals math sequences
|
||||||
specialized-arrays system unicode ;
|
specialized-arrays system unicode ;
|
||||||
IN: images.loader.gtk
|
IN: images.loader.gtk
|
||||||
SPECIALIZED-ARRAY: uchar
|
SPECIALIZED-ARRAY: uchar
|
||||||
|
|
||||||
SINGLETON: gtk-image
|
SINGLETON: gtk-image
|
||||||
|
|
||||||
[
|
os linux? [
|
||||||
os linux? "g_type_init" "gobject" dlsym? and [
|
|
||||||
! Explicit type initialization needed for glib < 2.36.
|
|
||||||
g_type_init
|
|
||||||
{ "png" "tif" "tiff" "gif" "jpg" "jpeg" "bmp" "ico" }
|
{ "png" "tif" "tiff" "gif" "jpg" "jpeg" "bmp" "ico" }
|
||||||
[ gtk-image register-image-class ] each
|
[ gtk-image register-image-class ] each
|
||||||
] when
|
] when
|
||||||
] "images.loader.gtk" add-startup-hook
|
|
||||||
|
|
||||||
<PRIVATE
|
<PRIVATE
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue