projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017025c
)
file chooser: Make unsetting save entry work
author
Matthias Clasen
<mclasen@redhat.com>
Sat, 4 Jul 2015 02:45:58 +0000
(22:45 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sat, 4 Jul 2015 04:29:27 +0000
(
00:29
-0400)
Fix an overzealous assertion.
gtk/gtkfilechooserwidget.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserwidget.c
b/gtk/gtkfilechooserwidget.c
index 1df1683479e60545f1b2ea5e85a1cf0e07d6da34..19ae2cf82adc637c953394a0e45f4582bb804aad 100644
(file)
--- a/
gtk/gtkfilechooserwidget.c
+++ b/
gtk/gtkfilechooserwidget.c
@@
-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;