[Xfce4-commits] [apps/xfce4-terminal] 01/01: Revert "Provide geometry_widget to gtk_window_set_geometry_hints"
noreply at xfce.org
noreply at xfce.org
Wed Jan 16 17:20:05 CET 2019
This is an automated email from the git hooks/post-receive script.
f 2 4 0 4 p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository apps/xfce4-terminal.
commit bf491d4dc67020f9d3dc5b651a139c8dc0d6cadf
Author: Igor <f2404 at yandex.ru>
Date: Wed Jan 16 11:19:00 2019 -0500
Revert "Provide geometry_widget to gtk_window_set_geometry_hints"
This reverts commit 50b7f0f4a52e12cb12dc2dce16a764fcaadfe46f.
The commit has broken geometry hints for GTK3 WMs (such as xfwm4 4.13).
Fixes bug #15045
---
terminal/terminal-screen.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 92e1586..da88239 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -2055,7 +2055,11 @@ terminal_screen_set_window_geometry_hints (TerminalScreen *screen,
hints.min_height = hints.base_height + hints.height_inc * 2;
gtk_window_set_geometry_hints (window,
+#if GTK_CHECK_VERSION (3, 19, 5)
+ NULL,
+#else
screen->terminal,
+#endif
&hints,
GDK_HINT_RESIZE_INC
| GDK_HINT_MIN_SIZE
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list