[Xfce4-commits] [panel-plugins/xfce4-indicator-plugin] 06/06: Fix wrong defaults for config

noreply at xfce.org noreply at xfce.org
Sun Jul 16 12:52:09 CEST 2017


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

a   n   d   r   z   e   j   r       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 panel-plugins/xfce4-indicator-plugin.

commit 227a34fc2090dda83593903aa1f4d9dcb1cbf7e0
Author: Viktor Odintsev <zakhams at gmail.com>
Date:   Fri Jul 14 01:50:26 2017 +0300

    Fix wrong defaults for config
---
 panel-plugin/indicator-config.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/indicator-config.c b/panel-plugin/indicator-config.c
index b32d4d1..01b3997 100644
--- a/panel-plugin/indicator-config.c
+++ b/panel-plugin/indicator-config.c
@@ -171,7 +171,7 @@ indicator_config_class_init (IndicatorConfigClass *klass)
   g_object_class_install_property (gobject_class,
                                    PROP_SQUARE_ICONS,
                                    g_param_spec_boolean ("square-icons", NULL, NULL,
-                                                         DEFAULT_ALIGN_LEFT,
+                                                         DEFAULT_SQUARE_ICONS,
                                                          G_PARAM_READWRITE |
                                                          G_PARAM_STATIC_STRINGS));
 
@@ -596,7 +596,7 @@ indicator_config_get_panel_size (IndicatorConfig *config)
 gchar**
 indicator_config_get_excluded_modules (IndicatorConfig *config)
 {
-  g_return_val_if_fail (XFCE_IS_INDICATOR_CONFIG (config), DEFAULT_ALIGN_LEFT);
+  g_return_val_if_fail (XFCE_IS_INDICATOR_CONFIG (config), NULL);
 
   return config->excluded_modules;
 }

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


More information about the Xfce4-commits mailing list