replace deprecated gtk_window_set_policy
[claws.git] / src / alertpanel.c
index 081073a9ed3185cc3a73e8f2d8420d2e58a2eff6..6a3e7f38d2ece181d1f2296a3dc3fd07cbc7936b 100644 (file)
@@ -249,7 +249,7 @@ static void alertpanel_create(const gchar *title,
 
        dialog = gtk_dialog_new();
        gtk_window_set_title(GTK_WINDOW(dialog), title);
-       gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
        gtk_container_set_border_width
                (GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 5);
        gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);