Ignore:
Timestamp:
07/04/19 18:02:37 (5 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
python3
hg-Phase:
(<MercurialRepository 1 'hg:/home/ivaradi/mlx/hg' '/'>, 'public')
Message:

Using 'Gdk' instead of 'gdk' (re #347)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r996 r997  
    323323    """Start a browser instance in the given container with the given URL."""
    324324    if os.name=="nt":
    325         gdk.threads_enter()
     325        Gdk.threads_enter()
    326326        ctypes.pythonapi.PyCapsule_GetPointer.restype = ctypes.c_void_p
    327327        ctypes.pythonapi.PyCapsule_GetPointer.argtypes = \
     
    332332        windowID = libgdk.gdk_win32_window_get_handle(gpointer)
    333333        container.windowID = windowID
    334         gdk.threads_leave()
     334        Gdk.threads_leave()
    335335    else:
    336336        container.set_visual(container.get_screen().lookup_visual(0x21))
Note: See TracChangeset for help on using the changeset viewer.