aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-03-22 00:14:57 +0800
committerXan Lopez <xan@src.gnome.org>2009-03-22 00:14:57 +0800
commit93b0c6873cba481f2efe02ee426641887c996bf3 (patch)
tree57caa123044f394a5ba1f368a1ae49e451b70253 /embed
parentc8ca5773416ac44c40ce3caee36c04ad0865449d (diff)
downloadgsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar.gz
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar.bz2
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar.lz
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar.xz
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.tar.zst
gsoc2013-epiphany-93b0c6873cba481f2efe02ee426641887c996bf3.zip
webkit-embed: 'foo ? foo : NULL' == 'foo'
svn path=/trunk/; revision=8930
Diffstat (limited to 'embed')
-rw-r--r--embed/webkit/webkit-embed.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index 018b8d8f7..227c34d05 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -476,7 +476,7 @@ download_requested_cb (WebKitWebView *web_view,
window = NULL;
dialog = ephy_file_chooser_new (_("Save"),
- window ? window : NULL,
+ window,
GTK_FILE_CHOOSER_ACTION_SAVE,
CONF_STATE_SAVE_DIR,
EPHY_FILE_FILTER_ALL_SUPPORTED);