[nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 19/22] pathbar: Drop gtk_widget_set_allocation()
- From: António Fernandes <antoniof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/wip/antoniof/gtk4-preparation-drop-outgoing-api: 19/22] pathbar: Drop gtk_widget_set_allocation()
- Date: Sun, 15 Aug 2021 19:41:20 +0000 (UTC)
commit c209478a2db9221e39dcaeb1ca839c9c457229c4
Author: Ernestas Kulik <ernestask gnome org>
Date: Wed Jul 11 13:33:51 2018 +0300
pathbar: Drop gtk_widget_set_allocation()
It's gone in GTK4 and removing this doesn't seem to cause any visual or
behavorial change at the moment.
src/nautilus-pathbar.c | 9 ---------
1 file changed, 9 deletions(-)
---
diff --git a/src/nautilus-pathbar.c b/src/nautilus-pathbar.c
index 84116bd78..d3c1f89c7 100644
--- a/src/nautilus-pathbar.c
+++ b/src/nautilus-pathbar.c
@@ -476,15 +476,6 @@ nautilus_path_bar_size_allocate (GtkWidget *widget,
self = NAUTILUS_PATH_BAR (widget);
- gtk_widget_set_allocation (widget, allocation);
-
- if (gtk_widget_get_realized (widget))
- {
- gdk_window_move_resize (self->event_window,
- allocation->x, allocation->y,
- allocation->width, allocation->height);
- }
-
/* No path is set so we don't have to allocate anything. */
if (self->button_list == NULL)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]