[Xfce4-commits] [xfce/xfce4-panel] 07/08: panel-application: fix deprecated GdkScreen

noreply at xfce.org noreply at xfce.org
Fri May 4 00:47:37 CEST 2018


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

o   c   h   o   s   i       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 xfce/xfce4-panel.

commit aa6f9cb811ad00e55ea55db8665af4f59f4ed336
Author: Jason Zaman <jason at perfinion.com>
Date:   Tue Apr 24 11:39:41 2018 +0800

    panel-application: fix deprecated GdkScreen
    
    It only supported one GdkScreen so just get the default
    
    Signed-off-by: Jason Zaman <jason at perfinion.com>
---
 panel/panel-application.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/panel/panel-application.c b/panel/panel-application.c
index 2157534..df28247 100644
--- a/panel/panel-application.c
+++ b/panel/panel-application.c
@@ -393,7 +393,7 @@ panel_application_load_real (PanelApplication *application)
               && sscanf (output_name, "screen-%d", &screen_num) == 1)
             {
               if (screen_num < 1)
-                screen = gdk_display_get_screen (display, screen_num);
+                screen = gdk_display_get_default_screen (display);
             }
           g_free (output_name);
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list