summaryrefslogtreecommitdiff
path: root/examples/bp/bloatpad.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/bp/bloatpad.c')
-rw-r--r--examples/bp/bloatpad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/bp/bloatpad.c b/examples/bp/bloatpad.c
index be6bee5aa6..0da7402374 100644
--- a/examples/bp/bloatpad.c
+++ b/examples/bp/bloatpad.c
@@ -374,7 +374,7 @@ response (GtkDialog *dialog,
if (response_id == GTK_RESPONSE_CLOSE)
{
- gtk_widget_destroy (GTK_WIDGET (dialog));
+ gtk_window_destroy (GTK_WINDOW (dialog));
return;
}