diff options
Diffstat (limited to 'mail/mail-search-dialogue.c')
-rw-r--r-- | mail/mail-search-dialogue.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/mail/mail-search-dialogue.c b/mail/mail-search-dialogue.c index 0a692b1ec3..86662793a7 100644 --- a/mail/mail-search-dialogue.c +++ b/mail/mail-search-dialogue.c @@ -81,11 +81,8 @@ mail_search_dialogue_construct (MailSearchDialogue *o, FilterRule *rule) FilterPart *part; GtkDialog *dialogue = GTK_DIALOG (o); - g_object_set(dialogue, - "allow_shrink", FALSE, - "allow_grow", TRUE, - "default_width", 500, - "default_height", 400, NULL); + gtk_window_set_default_size ((GtkWindow *) dialogue, 400, 350); + gtk_window_set_resizable ((GtkWindow *) dialogue, TRUE); o->context = rule_context_new (); rule_context_add_part_set (o->context, "partset", filter_part_get_type (), |