Ignore:
File:
1 edited

Legend:

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

    r805 r915  
    309309        container.connect("size-allocate", _handleSizeAllocate)
    310310    else:
    311         container = gtk.VBox(True, 0)
     311        container = gtk.DrawingArea()
    312312
    313313    container.show()
     
    327327            windowID = window.handle
    328328    else:
    329         m = re.search("GtkVBox at 0x(\w+)", str(container))
    330         hexID = m.group(1)
    331         windowID = int(hexID, 16)
     329        windowID = container.window.xid
    332330
    333331    windowInfo = cefpython.WindowInfo()
Note: See TracChangeset for help on using the changeset viewer.