Fix parameters to gtk_widget_get_allocation() call.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35865 f5534014-38df-0310-8fa8-9805f1628bb7
This commit is contained in:
jake 2011-02-07 22:11:14 +00:00
parent 449852ffff
commit 93e631c141
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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