summaryrefslogtreecommitdiff
path: root/gtk/gtkfilechooserwidget.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-03-13 18:40:46 +0000
committerMatthias Clasen <mclasen@redhat.com>2020-03-13 18:40:46 +0000
commit66a0a8d53e5970f404f234f367aed1838784f1d7 (patch)
tree6178df7b72f7cdc9170d33d665fb0788922a615f /gtk/gtkfilechooserwidget.c
parent265d9c87039e9c9b25605b853bb68483075462a6 (diff)
parent73d8f6a090afd8a9ea4ebffd5e1376a71f16e503 (diff)
downloadgtk+-66a0a8d53e5970f404f234f367aed1838784f1d7.tar.gz
Merge branch 'wip/baedert/test-cflags' into 'master'
Pass (almost) all our cflags to tests, testsuite, examples, demos, ... See merge request GNOME/gtk!1516
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r--gtk/gtkfilechooserwidget.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c
index 412c1df140..c2c852a134 100644
--- a/gtk/gtkfilechooserwidget.c
+++ b/gtk/gtkfilechooserwidget.c
@@ -7175,7 +7175,8 @@ list_selection_changed (GtkTreeSelection *selection,
if (gtk_tree_view_get_model (GTK_TREE_VIEW (priv->browse_files_tree_view)) == NULL)
return;
- if (priv->location_entry)
+ if (priv->location_entry &&
+ priv->browse_files_model)
update_chooser_entry (impl);
location_bar_update (impl);