diff -r 554203837f0b -r adcb9a4cc920 pidgin/gtkwebviewtoolbar.c --- a/pidgin/gtkwebviewtoolbar.c Mon Sep 19 21:37:15 2016 +0200 +++ b/pidgin/gtkwebviewtoolbar.c Wed Sep 14 20:56:41 2016 +0200 @@ -1198,13 +1198,8 @@ { GtkWidget *widget = GTK_WIDGET(data); GtkAllocation allocation; - 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); gdk_window_get_origin(gtk_widget_get_window(widget), x, y); *x += allocation.x; @@ -1213,7 +1208,7 @@ pidgin_menu_position_func_helper(menu, x, y, push_in, data); - if (savy > *y + ythickness + 1) + if (savy > *y + 1) *y -= allocation.height; }