This is an automated email from the git hooks/post-receive script.

ochosi pushed a 
commit to branch 
master
in repository apps/xfce4-notifyd.

commit 0bb7f122815ce5529bb7f63bf1f78a71809fe470
Author: Viktor Odintsev <[email protected]>
Date:   Sun Oct 29 23:37:46 2017 +0100

    Fix warning about gdk_window_get_origin (Bug #13935)
---
 xfce4-notifyd/xfce-notify-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/xfce4-notifyd/xfce-notify-window.c 
b/xfce4-notifyd/xfce-notify-window.c
index 994b7ec..50a5f05 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -217,7 +217,7 @@ xfce_notify_window_init(XfceNotifyWindow *window)
        screen as maximum width. */
 #if GTK_CHECK_VERSION (3, 22, 0)
     monitor = gdk_display_get_monitor_at_window (gtk_widget_get_display 
(GTK_WIDGET (window)),
-                                                 gtk_widget_get_window 
(GTK_WIDGET (window)));
+                                                 gdk_screen_get_root_window 
(screen));
     gdk_monitor_get_geometry (monitor, &geometry);
     screen_width = geometry.width / 30;
 #else

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to