Fix parameters to gtk_widget_get_allocation() call.

svn path=/trunk/; revision=35865
This commit is contained in:
Jaap Keuter 2011-02-07 22:11:14 +00:00
parent 42145f2e7c
commit 104d4d80a2
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