pidgin/gtkimhtmltoolbar.c

branch
cpw.qulogic.gtk3-required
changeset 33158
ad941796372e
parent 33139
6a4e30c1fc5d
child 33170
ce4447562d64
equal deleted inserted replaced
33157:189805249b19 33158:ad941796372e
1111 GtkRequisition menu_req; 1111 GtkRequisition menu_req;
1112 GtkAllocation allocation; 1112 GtkAllocation allocation;
1113 gint ythickness = gtk_widget_get_style(widget)->ythickness; 1113 gint ythickness = gtk_widget_get_style(widget)->ythickness;
1114 int savy; 1114 int savy;
1115 1115
1116 gtk_widget_get_allocation(widget, &allocation); 1116 gtk_widget_get_allocation(widget, &allocation);
1117 gtk_widget_size_request(GTK_WIDGET (menu), &menu_req); 1117 gtk_widget_size_request(GTK_WIDGET (menu), &menu_req);
1118 gdk_window_get_origin(gtk_widget_get_window(widget), x, y); 1118 gdk_window_get_origin(gtk_widget_get_window(widget), x, y);
1119 *x += allocation.x; 1119 *x += allocation.x;
1120 *y += allocation.y + allocation.height; 1120 *y += allocation.y + allocation.height;
1121 savy = *y; 1121 savy = *y;

mercurial