aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/EphyPromptService.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'embed/mozilla/EphyPromptService.cpp')
-rw-r--r--embed/mozilla/EphyPromptService.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp
index bee062ddf..4f3d1446c 100644
--- a/embed/mozilla/EphyPromptService.cpp
+++ b/embed/mozilla/EphyPromptService.cpp
@@ -454,11 +454,10 @@ EnableResponse (GtkDialog *aDialog)
}
static void
-RemoveTimeout (GObject *aDialog)
+RemoveTimeout (gpointer idptr)
{
- guint timeout;
+ guint timeout = GPOINTER_TO_UINT (idptr);
- timeout = GPOINTER_TO_UINT (g_object_get_data (aDialog, TIMEOUT_DATA_KEY));
g_return_if_fail (timeout != 0);
g_source_remove (timeout);