[Xfce4-commits] [xfce/xfce4-panel] 01/01: pager: Silence warning
    noreply at xfce.org 
    noreply at xfce.org
       
    Wed Oct  9 11:45:20 CEST 2019
    
    
  
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 dec242e03eaeb42c00c86ba1e861dd537b5d3598
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Wed Oct 9 11:45:10 2019 +0200
    pager: Silence warning
---
 plugins/pager/pager.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/plugins/pager/pager.c b/plugins/pager/pager.c
index 2723193..2a4069c 100644
--- a/plugins/pager/pager.c
+++ b/plugins/pager/pager.c
@@ -297,7 +297,8 @@ pager_plugin_set_property (GObject      *object,
     case PROP_NUMBERING:
       plugin->numbering = g_value_get_boolean (value);
 
-      if (!plugin->miniature_view)
+      if (plugin->pager != NULL
+          && !plugin->miniature_view)
         pager_buttons_set_numbering (XFCE_PAGER_BUTTONS (plugin->pager), plugin->numbering);
       break;
 
-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
    
    
More information about the Xfce4-commits
mailing list