[Xfce4-commits] [xfce/xfce4-panel] 09/73: Plugins crash with X-XFCE-API=2.0, reverting to 1.0.

noreply at xfce.org noreply at xfce.org
Sun Feb 26 16:33:50 CET 2017


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

andrzejr pushed a commit to branch master
in repository xfce/xfce4-panel.

commit e9d6b5e41fed6f3db59f7904d303dc1baeb053de
Author: Andrzej <ndrwrdck at gmail.com>
Date:   Tue Oct 25 21:55:47 2016 +0100

    Plugins crash with X-XFCE-API=2.0, reverting to 1.0.
    
    Not sure why.
---
 panel/panel-module.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/panel/panel-module.c b/panel/panel-module.c
index 2eee356..76221ca 100644
--- a/panel/panel-module.c
+++ b/panel/panel-module.c
@@ -369,7 +369,8 @@ panel_module_new_from_desktop_file (const gchar *filename,
             {
               module->mode = WRAPPER;
               g_free (module->api);
-              module->api = g_strdup (xfce_rc_read_entry (rc, "X-XFCE-API", LIBXFCE4PANEL_VERSION_API));
+              //module->api = g_strdup (xfce_rc_read_entry (rc, "X-XFCE-API", LIBXFCE4PANEL_VERSION_API));
+              module->api = g_strdup (xfce_rc_read_entry (rc, "X-XFCE-API", "1.0"));
             }
           else
             module->mode = INTERNAL;

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


More information about the Xfce4-commits mailing list