• Jonas Ådahl's avatar
    entrycompletion: Realize popup after setting screen · ba83a2c4
    Jonas Ådahl authored
    Realization is done as a side effect of calling
    _gtk_entry_completion_resize_popup(), but if this is done before the
    GdkScreen of the GtkWindow is set up correctly, it may result in the
    widget being unrealized when the screen is updated. This may happen
    when the file dialog parent window is not using the default GdkDisplay.
    
    To avoid this issue, realize the popup after the screen has been
    properly set up.
    
    Fixes #83 in gtk3
    ba83a2c4
gtkentrycompletion.c 91.1 KB