mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-13 04:10:13 +00:00
Only use gtk_print_backends_init() on UNIX
It's from gtkprintbackend.c, which is in gtk_unix_print_sources source list and thus only available on os_unix only. https://bugzilla.gnome.org/show_bug.cgi?id=773299
This commit is contained in:
parent
5cdb33d1c4
commit
56782123d2
@ -631,7 +631,9 @@ static void
|
||||
default_display_notify_cb (GdkDisplayManager *dm)
|
||||
{
|
||||
debug_flags[0].display = gdk_display_get_default ();
|
||||
#ifdef G_OS_UNIX
|
||||
gtk_print_backends_init ();
|
||||
#endif
|
||||
gtk_im_modules_init ();
|
||||
gtk_media_file_extension_init ();
|
||||
_gtk_accessibility_init ();
|
||||
|
Loading…
Reference in New Issue
Block a user