[gtk+] gtkwindow: Remove an unnecessary set of grip setting
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkwindow: Remove an unnecessary set of grip setting
- Date: Thu, 26 Jun 2014 19:59:14 +0000 (UTC)
commit 35f618e71dccc02a2226b9f8115d29ec878caf62
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jun 26 14:41:02 2014 -0400
gtkwindow: Remove an unnecessary set of grip setting
We already update the grip position in _gtk_window_set_allocation, which
is done through the size_allocate above. Receiving a ConfigureNotify
also won't ever change a grip's visibility, so there's no point in
refreshing it.
gtk/gtkwindow.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index 2fef625..8f47859 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -9339,9 +9339,6 @@ gtk_window_move_resize (GtkWindow *window)
/* gtk_window_configure_event() filled in widget->allocation */
gtk_widget_size_allocate (widget, &allocation);
- set_grip_position (window);
- update_grip_visibility (window);
-
/* If the configure request changed, it means that
* we either:
* 1) coincidentally changed hints or widget properties
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]