# This file is part of Xpra.
# Copyright (C) 2013, 2014 Antoine Martin <antoine@devloop.org.uk>
# Xpra is released under the terms of the GNU GPL v2, or, at your option, any
# later version. See the file COPYING for details.

from xpra.log import Logger
log = Logger("gtk", "client")

import os, sys
from xpra.os_util import OSX
if os.name=="posix" and not OSX:
    try:
        from xpra.x11.gtk2 import gdk_display_source
    except ImportError:
        log.warn("cannot import gtk2 x11 display source", exc_info=True)
