aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-completion-view.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/text/e-completion-view.c')
-rw-r--r--widgets/text/e-completion-view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index 57d02bb865..0837160d6f 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -810,7 +810,7 @@ e_completion_view_set_width (ECompletionView *cv, gint width)
w = GTK_WIDGET (cv);
if (! GTK_WIDGET_REALIZED (w)) {
- gtk_widget_set_usize (w, width, -1);
+ gtk_widget_set_size_request (w, width, -1);
return;
}
@@ -841,7 +841,7 @@ e_completion_view_set_width (ECompletionView *cv, gint width)
/* We reduce the total height by a bit; in practice, this seems to work out well. */
final_height = (gint) floor (line_height * (0.5 + (float)lines) * 0.97);
- gtk_widget_set_usize (w, width, final_height);
+ gtk_widget_set_size_request (w, width, final_height);
}
void