From f808eb08f0aab3071fbb2bb867d02877480a691f Mon Sep 17 00:00:00 2001 From: Martin Kaiser Date: Tue, 26 Mar 2013 20:33:49 +0000 Subject: add explicit cast to avoid a compiler warning svn path=/trunk/; revision=48568 --- ui/gtk/gui_utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'ui/gtk/gui_utils.c') diff --git a/ui/gtk/gui_utils.c b/ui/gtk/gui_utils.c index 66b69a9a0c..ba04760723 100644 --- a/ui/gtk/gui_utils.c +++ b/ui/gtk/gui_utils.c @@ -1877,7 +1877,8 @@ void ws_gtk_grid_attach_defaults(GtkGrid *grid, GtkWidget *child, gint left, gint top, gint width, gint height) { /* Use defaults for [x|y]options and [x|y]padding which match those for gtk_table_attach_defaults() */ - ws_gtk_grid_attach_extended(grid, child, left, top, width, height, GTK_EXPAND|GTK_FILL, GTK_EXPAND|GTK_FILL, 0, 0); + ws_gtk_grid_attach_extended(grid, child, left, top, width, height, + (GtkAttachOptions)(GTK_EXPAND|GTK_FILL), (GtkAttachOptions)(GTK_EXPAND|GTK_FILL), 0, 0); } void -- cgit v1.2.1