commit 0c372bd7eb9d35427664e65876b99ac5afde2051
parent 15454d2fe8d7fd388da651f1d3fcc45b5095e34e
Author: paul <paul@claws-mail.org>
Date: Fri, 15 May 2020 15:28:43 +0100
fix build warning
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/textview.c b/src/textview.c
@@ -1,6 +1,6 @@
/*
* Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2019 the Claws Mail team and Hiroyuki Yamamoto
+ * Copyright (C) 1999-2020 the Claws Mail team and Hiroyuki Yamamoto
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -271,7 +271,7 @@ TextView *textview_create(void)
gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(scrolledwin),
GTK_POLICY_AUTOMATIC,
GTK_POLICY_AUTOMATIC);
- gtk_widget_set_vexpand(GTK_SCROLLED_WINDOW(scrolledwin), TRUE);
+ gtk_widget_set_vexpand(GTK_WIDGET(scrolledwin), TRUE);
gtk_scrolled_window_set_shadow_type(GTK_SCROLLED_WINDOW(scrolledwin),
GTK_SHADOW_IN);