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.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/embed/mozilla/EphyPromptService.cpp b/embed/mozilla/EphyPromptService.cpp
index 72c1931ce..29813f300 100644
--- a/embed/mozilla/EphyPromptService.cpp
+++ b/embed/mozilla/EphyPromptService.cpp
@@ -514,7 +514,7 @@ static void
DeletePrompter (gpointer aPromptPtr,
GObject *aZombie)
{
- Prompter *prompt = NS_STATIC_CAST (Prompter*, aPromptPtr);
+ Prompter *prompt = static_cast<Prompter*>(aPromptPtr);
delete prompt;
}
@@ -531,7 +531,7 @@ Prompter::Show ()
G_CALLBACK (gtk_widget_destroy), NULL);
g_object_weak_ref (G_OBJECT (mDialog),
(GWeakNotify) DeletePrompter,
- NS_STATIC_CAST (gpointer, this));
+ static_cast<gpointer>(this));
gtk_widget_show (GTK_WIDGET (mDialog));
}