aboutsummaryrefslogtreecommitdiff
path: root/src/inputdialog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputdialog.c')
-rw-r--r--src/inputdialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/inputdialog.c b/src/inputdialog.c
index 5ebdee85..ac1b6daa 100644
--- a/src/inputdialog.c
+++ b/src/inputdialog.c
@@ -168,8 +168,8 @@ static void input_dialog_create(void)
GtkWidget *cancel_button;
dialog = gtk_dialog_new();
- gtk_window_set_policy(GTK_WINDOW(dialog), FALSE, FALSE, FALSE);
- gtk_widget_set_size_request(dialog, INPUT_DIALOG_WIDTH, -1);
+ gtk_window_set_resizable(GTK_WINDOW(dialog), FALSE);
+ gtk_window_set_default_size(GTK_WINDOW(dialog), INPUT_DIALOG_WIDTH, -1);
gtk_container_set_border_width
(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area), 5);
gtk_window_set_position(GTK_WINDOW(dialog), GTK_WIN_POS_CENTER);