filechooserwidget: Properly watch for different display
authorTimm Bäder <mail@baedert.org>
Wed, 28 Aug 2019 09:50:59 +0000 (11:50 +0200)
committerTimm Bäder <mail@baedert.org>
Mon, 9 Sep 2019 15:36:25 +0000 (17:36 +0200)
commit9952f726801e592e73d146658ba4f3d7d002c69a
tree7c5b44e758aa0730e841c091cf7f9729d2a9976f
parentb9473bc99c0bf658558e575243de219d0d02d237
filechooserwidget: Properly watch for different display

The value returned by gtk_widget_get_settings() depends on the widget's
display, so watch for notify::display instead of using (un)root for
this.

Fixes the warnings seen when show a file chooser from the inspector.
gtk/gtkfilechooserwidget.c
gtk/gtkwidget.c