summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2011-02-07 22:11:14 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2011-02-07 22:11:14 +0000
commit104d4d80a22fe4a7483e0596a4463d0c2091eec9 (patch)
treee3c2bee1c016e91a6678e9fd05a3e46435eeec7a
parent42145f2e7c4f167b4a438c09ffbe41b0db1963e0 (diff)
downloadwireshark-104d4d80a22fe4a7483e0596a4463d0c2091eec9.tar.gz
Fix parameters to gtk_widget_get_allocation() call.
svn path=/trunk/; revision=35865
-rw-r--r--gtk/filter_autocomplete.c2
-rw-r--r--gtk/gtkvumeter.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/filter_autocomplete.c b/gtk/filter_autocomplete.c
index b21e8b5924..40f9859af0 100644
--- a/gtk/filter_autocomplete.c
+++ b/gtk/filter_autocomplete.c
@@ -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
diff --git a/gtk/gtkvumeter.c b/gtk/gtkvumeter.c
index fdb69c5daa..09e7488ab7 100644
--- a/gtk/gtkvumeter.c
+++ b/gtk/gtkvumeter.c
@@ -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