diff -r d5ab4262ea77 -r 6c9cb1e8b2d9 pidgin/gtkwebviewtoolbar.c --- a/pidgin/gtkwebviewtoolbar.c Sat Sep 03 16:03:29 2016 -0400 +++ b/pidgin/gtkwebviewtoolbar.c Sat Sep 03 17:08:37 2016 -0400 @@ -1199,9 +1199,13 @@ GtkWidget *widget = GTK_WIDGET(data); GtkRequisition menu_req; GtkAllocation allocation; - gint ythickness = gtk_widget_get_style(widget)->ythickness; + GtkStyleContext *context; + gint ythickness; int savy; + context = gtk_widget_get_style_context(widget); + gtk_style_context_get(context, gtk_style_context_get_state(context), + "ythickness", &ythickness, NULL); gtk_widget_get_allocation(widget, &allocation); gtk_widget_get_preferred_size(GTK_WIDGET(menu), NULL, &menu_req); gdk_window_get_origin(gtk_widget_get_window(widget), x, y);