Skip to content

Commit

Permalink
GTK3 fixes: aliases have been removed from gtk_util
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@24723 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Dec 16, 2019
1 parent b49697e commit c95fb71
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/tests/xpra/test_apps/test_window_states.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

from gi.repository import Gtk, Gdk

from xpra.gtk_common.gtk_util import WINDOW_TOPLEVEL


def main():
window = Gtk.Window(WINDOW_TOPLEVEL)
window = Gtk.Window(type=Gtk.WindowType.TOPLEVEL)
window.set_size_request(320, 500)
window.connect("delete_event", Gtk.main_quit)
vbox = Gtk.VBox(False, 0)
Expand Down Expand Up @@ -99,7 +97,7 @@ def window_state(widget, event):

window.add(vbox)
window.show_all()
gtk.main()
Gtk.main()
return 0


Expand Down

0 comments on commit c95fb71

Please sign in to comment.