replace deprecated gtk_window_set_policy
[claws.git] / src / addressbook.c
index 8e81f47935e97419b70b0bfa498e5c30ce6fe93a..f44b66e3c2a705ddeb8c9c52a1d84387527d71db 100644 (file)
@@ -647,7 +647,7 @@ static void addressbook_create(void)
        window = gtk_window_new(GTK_WINDOW_TOPLEVEL);
        gtk_window_set_title(GTK_WINDOW(window), _("Address book"));
        gtk_widget_set_size_request(window, ADDRESSBOOK_WIDTH, ADDRESSBOOK_HEIGHT);
-       gtk_window_set_policy(GTK_WINDOW(window), TRUE, TRUE, TRUE);
+       gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
        gtk_window_set_wmclass(GTK_WINDOW(window), "addressbook", "Sylpheed");
        gtk_widget_realize(window);