From eb37875beef5a1b70b7653277315fdbb3b2bbe4a Mon Sep 17 00:00:00 2001 From: Colin Clark Date: Sun, 7 Nov 2021 11:28:52 +0000 Subject: [PATCH] Fix minor coding error Fix typo. --- src/ui_bookmark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui_bookmark.c b/src/ui_bookmark.c index 725b2789..39897155 100644 --- a/src/ui_bookmark.c +++ b/src/ui_bookmark.c @@ -394,7 +394,7 @@ static void bookmark_menu_position_cb(GtkMenu *menu, gint *x, gint *y, gint *pus GtkWidget *button = data; GtkAllocation allocation; - gtk_widget_set_allocation(button, &allocation); + gtk_widget_get_allocation(button, &allocation); gdk_window_get_origin(gtk_widget_get_window(button), x, y); *y += allocation.y + allocation.height; } -- 2.20.1