diff options
Diffstat (limited to 'embed/mozilla/EphyHeaderSniffer.cpp')
-rw-r--r-- | embed/mozilla/EphyHeaderSniffer.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/embed/mozilla/EphyHeaderSniffer.cpp b/embed/mozilla/EphyHeaderSniffer.cpp index d751a6941..cde2fa1d2 100644 --- a/embed/mozilla/EphyHeaderSniffer.cpp +++ b/embed/mozilla/EphyHeaderSniffer.cpp @@ -203,16 +203,17 @@ EphyHeaderSniffer::OnSecurityChange (nsIWebProgress *aWebProgress, nsIRequest *a } static void -filechooser_response_cb (EphyFileChooser *dialog, gint response, EphyHeaderSniffer* sniffer) +filechooser_response_cb (GtkWidget *dialog, + gint response, + EphyHeaderSniffer* sniffer) { if (response == GTK_RESPONSE_ACCEPT) { char *filename; - GtkWidget *parent = NULL; // FIXME! filename = gtk_file_chooser_get_filename (GTK_FILE_CHOOSER (dialog)); - if (ephy_gui_confirm_overwrite_file (parent, filename) == FALSE) + if (ephy_gui_confirm_overwrite_file (dialog, filename) == FALSE) { g_free (filename); return; |