[gtk+] Don't unnecessarily queue resize in GtkWindow.style_updated
- From: Alexander Larsson <alexl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] Don't unnecessarily queue resize in GtkWindow.style_updated
- Date: Tue, 4 Dec 2012 20:31:08 +0000 (UTC)
commit d3377e9d7afeb8389ddad920ac0104185b27a852
Author: Alexander Larsson <alexl redhat com>
Date: Tue Dec 4 16:38:23 2012 +0100
Don't unnecessarily queue resize in GtkWindow.style_updated
GtkWindow always queues a resize on style updates if there is
a grip, because it may have been the grip size style properties
that changed. However, even if it *were*, and it likely wasn't
that would not affect the windows size request, so no need
to queue a resize.
gtk/gtkwindow.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 26cd8f6..db6eb7a 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -5735,7 +5735,6 @@ gtk_window_style_updated (GtkWidget *widget)
rect.width, rect.height);
set_grip_shape (window);
- gtk_widget_queue_resize (widget);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]