replace deprecated gtk_window_set_policy
[claws.git] / src / compose.c
index 9c7c948ebfbfb746585f0a3ac9c7d4a7285a31d0..e1adb887f42fdd69bc54acb7e87e6583463b2dcb 100644 (file)
@@ -5132,7 +5132,7 @@ static Compose *compose_create(PrefsAccount *account, ComposeMode mode)
        compose->account = account;
 
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
-       gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, FALSE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_widget_set_size_request(window, -1, prefs_common.compose_height);
        gtk_window_set_wmclass(GTK_WINDOW(window), "compose window", "Sylpheed");