forked from osmocom/wireshark
Fix parameters to gtk_widget_get_allocation() call.
svn path=/trunk/; revision=35865
This commit is contained in:
parent
42145f2e7c
commit
104d4d80a2
|
@ -761,7 +761,7 @@ filter_autocomplete_new(GtkWidget *filter_te, const gchar *protocol_name,
|
|||
gtk_widget_size_request(treeview, &requisition);
|
||||
|
||||
#if GTK_CHECK_VERSION(2,18,0)
|
||||
gtk_widget_get_allocation(filter_te, filter_te_alloc);
|
||||
gtk_widget_get_allocation(filter_te, &filter_te_alloc);
|
||||
#else
|
||||
filter_te_alloc = filter_te->allocation;
|
||||
#endif
|
||||
|
|
|
@ -524,7 +524,7 @@ static void gtk_vumeter_setup_colors (GtkVUMeter *vumeter)
|
|||
gtk_vumeter_free_colors (vumeter);
|
||||
|
||||
#if GTK_CHECK_VERSION(2,18,0)
|
||||
gtk_widget_get_allocation(GTK_WIDGET(vumeter), vumeter_alloc);
|
||||
gtk_widget_get_allocation(GTK_WIDGET(vumeter), &vumeter_alloc);
|
||||
#else
|
||||
vumeter_alloc = GTK_WIDGET(vumeter)->allocation;
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue