Fix compilation problem for GTK+ < 2.18

graph_analysis.c(1450): error C2039: 'allocation' : is not a member of
'_GtkStyle'


svn path=/trunk/; revision=35877
This commit is contained in:
Stephen Fisher 2011-02-08 04:12:09 +00:00
parent 045037dc71
commit cf5aeb0c4c
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
/* graph_analysis.c
/* graph_analysis.c
* Graphic Analysis addition for Wireshark
*
* $Id$
@ -1447,7 +1447,7 @@ static gboolean pane_callback(GtkWidget *widget, GParamSpec *pspec _U_, gpointer
gtk_widget_get_allocation(user_data->dlg.draw_area_comments, &draw_area_comments_alloc);
draw_area_comments_style = gtk_widget_get_style(user_data->dlg.draw_area_comments);
#else
draw_area_comments_alloc = user_data->dlg.draw_area_comments->style->allocation;
draw_area_comments_alloc = user_data->dlg.draw_area_comments->allocation;
draw_area_comments_style = user_data->dlg.draw_area_comments->style;
#endif