Fix parameters to gtk_widget_get_allocation() call.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 7 Feb 2011 22:11:14 +0000 (22:11 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Mon, 7 Feb 2011 22:11:14 +0000 (22:11 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@35865 f5534014-38df-0310-8fa8-9805f1628bb7

gtk/filter_autocomplete.c
gtk/gtkvumeter.c

index b21e8b5924c4b4dfe905df75d22f934dd336b670..40f9859af021621224a4c4573732ddcb690c49fa 100644 (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
index fdb69c5daa881b14012122e7401bf3e865de1c9e..09e7488ab77526ed9146846b021dc7725c88ac4c 100644 (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