-/* xscreensaver, Copyright (c) 2001-2013 by Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 2001-2016 by Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
/* On MacOS under X11, the usual X11 mechanism of getting a screen shot
doesn't work, and we need to use an external program. This is only
used when running under X11 on MacOS. If it's a Cocoa build, this
- path is not taken, and OSX/osxgrabscreen.m is used instead.
+ path is not taken, and OSX/grabclient-osx.m is used instead.
*/
# define USE_EXTERNAL_SCREEN_GRABBER
#endif
gdk_pixbuf_xlib_init_with_depth (dpy, screen_number (screen), win_depth);
# ifdef HAVE_GTK2
+# if !GLIB_CHECK_VERSION(2, 36 ,0)
g_type_init();
+# endif
# else /* !HAVE_GTK2 */
xlib_rgb_init (dpy, screen);
# endif /* !HAVE_GTK2 */