From 2d67c8a494c15ada9d0827ce29e97b37da679190 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 3 Jan 2008 16:48:02 +0200 Subject: [PATCH] gtk_window_set_deletable is not available under (old) IT --- src/ui-common.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/ui-common.c b/src/ui-common.c index 522cd5e..02777dd 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -853,7 +853,9 @@ dialog = gtk_dialog_new(); gtk_window_set_title(GTK_WINDOW(dialog), title); gtk_window_set_transient_for(GTK_WINDOW(dialog), GTK_WINDOW(_window)); gtk_window_set_modal(GTK_WINDOW(dialog), TRUE); +#ifndef WITH_HILDON gtk_window_set_deletable(GTK_WINDOW(dialog), FALSE); +#endif /* gtk_window_set_decorated(GTK_WINDOW(dialog), FALSE); */ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), gtk_label_new(title), TRUE, TRUE, 0); gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), progress, TRUE, TRUE, 0); -- 2.39.5