diff options
author | Martin Kaiser <wireshark@kaiser.cx> | 2013-03-26 20:33:49 +0000 |
---|---|---|
committer | Martin Kaiser <wireshark@kaiser.cx> | 2013-03-26 20:33:49 +0000 |
commit | f808eb08f0aab3071fbb2bb867d02877480a691f (patch) | |
tree | f0f3910c6976d2fcb0a261541500cfd156b0a0cc /ui/gtk/gui_utils.c | |
parent | a0a1082e01a424794f056b3898f122f0ec09e626 (diff) |
add explicit cast to avoid a compiler warning
svn path=/trunk/; revision=48568
Diffstat (limited to 'ui/gtk/gui_utils.c')
-rw-r--r-- | ui/gtk/gui_utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |