[libgd/wip/ernestask/gtk4: 2/33] Remove calls to gtk_widget_set_allocation()
- From: Ernestas Kulik <ernestask src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgd/wip/ernestask/gtk4: 2/33] Remove calls to gtk_widget_set_allocation()
- Date: Sun, 11 Mar 2018 08:17:36 +0000 (UTC)
commit ed3958c08a5fc9694b82d0e4401f705cbbffba5b
Author: Ernestas Kulik <ernestask gnome org>
Date: Mon Mar 5 17:48:24 2018 +0200
Remove calls to gtk_widget_set_allocation()
It was removed with no replacement - it’s done automatically.
libgd/gd-margin-container.c | 1 -
libgd/gd-notification.c | 2 --
2 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/libgd/gd-margin-container.c b/libgd/gd-margin-container.c
index 1d4243b..a6c4975 100644
--- a/libgd/gd-margin-container.c
+++ b/libgd/gd-margin-container.c
@@ -153,7 +153,6 @@ gd_margin_container_size_allocate (GtkWidget *widget,
gint avail_width, avail_height;
child = gtk_bin_get_child (GTK_BIN (widget));
- gtk_widget_set_allocation (widget, allocation);
if (child && gtk_widget_get_visible (child))
{
diff --git a/libgd/gd-notification.c b/libgd/gd-notification.c
index 8f9bd60..6e57aab 100644
--- a/libgd/gd-notification.c
+++ b/libgd/gd-notification.c
@@ -767,8 +767,6 @@ gd_notification_size_allocate (GtkWidget *widget,
GtkRequisition button_req;
GtkWidget *child;
- gtk_widget_set_allocation (widget, allocation);
-
/* If somehow the notification changes while not hidden
and we're not animating, immediately follow the resize */
if (priv->animate_y > 0 &&
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]