file chooser: Make unsetting save entry work

Fix an overzealous assertion.
This commit is contained in:
Matthias Clasen 2015-07-03 22:45:58 -04:00
parent 017025c1a7
commit 4dafcf9c8b

View File

@ -8012,7 +8012,7 @@ gtk_file_chooser_widget_set_save_entry (GtkFileChooserWidget *impl,
GtkFileChooserWidgetPrivate *priv = impl->priv;
g_return_if_fail (GTK_IS_FILE_CHOOSER_WIDGET (impl));
g_return_if_fail (GTK_IS_FILE_CHOOSER_ENTRY (entry));
g_return_if_fail (entry == NULL || GTK_IS_FILE_CHOOSER_ENTRY (entry));
priv->external_entry = entry;