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

landry pushed a commit to branch master
in repository panel-plugins/xfce4-datetime-plugin.

commit f8881b3cfcc798490eba44f62ee9bf6bd50605d6
Author: Landry Breuil <[email protected]>
Date:   Sun May 1 11:29:41 2016 +0200

    Stop poking at widget internals, use an accessor to get the widget window
---
 panel-plugin/datetime.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel-plugin/datetime.c b/panel-plugin/datetime.c
index de65bff..3237b72 100644
--- a/panel-plugin/datetime.c
+++ b/panel-plugin/datetime.c
@@ -280,7 +280,7 @@ static GtkWidget * pop_calendar_window(t_datetime 
*datetime, int orientation)
 
   /* set screen number */
   screen = gtk_widget_get_screen(parent);
-  num = gdk_screen_get_monitor_at_window(screen, parent->window);
+  num = gdk_screen_get_monitor_at_window(screen, 
gtk_widget_get_window(parent));
   gtk_window_set_screen(GTK_WINDOW(window), screen);
 
   frame = gtk_frame_new(NULL);

-- 
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