From: Colin Clark Date: Sun, 7 Nov 2021 11:28:52 +0000 (+0000) Subject: Fix minor coding error X-Git-Tag: v1.7~26 X-Git-Url: http://geeqie.org/cgi-bin/gitweb.cgi?p=geeqie.git;a=commitdiff_plain;h=eb37875beef5a1b70b7653277315fdbb3b2bbe4a Fix minor coding error Fix typo. --- 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; }