ResultWidget: fix disconnecting from the screen's resolution signal
commitafb5b396643f09ab72921c074250e1d77f7bb97a
authorOwen W. Taylor <otaylor@fishsoup.net>
Sun, 18 Sep 2011 19:58:46 +0000 (18 15:58 -0400)
committerOwen W. Taylor <otaylor@fishsoup.net>
Tue, 20 Sep 2011 03:37:38 +0000 (19 23:37 -0400)
treec6d6e87efe0f15a6c19e2b5a1cb8d41748468fe6
parent897aeca8adf93eea75d2077a1798ff74ce37fdba
ResultWidget: fix disconnecting from the screen's resolution signal

When a GtkWidget is destroyed, and the screen_changed virtual function
is called, get_screen() still returns the default screen, so this broke our
logic for disconnecting from notify::resolution. Fix this by simply
assuming that we always are using the default screen.
lib/reinteract/custom_result.py