[Xfce4-commits] [xfce/xfce4-panel] 02/03: launcher: Fix incompatible pointer type warning

noreply at xfce.org noreply at xfce.org
Tue Dec 18 09:39:25 CET 2018


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

a   j   b       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 48fc05a8302e42107742f7544322aaa3f8d17afa
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date:   Sun Dec 16 10:08:49 2018 +0000

    launcher: Fix incompatible pointer type warning
---
 plugins/launcher/launcher.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/launcher/launcher.c b/plugins/launcher/launcher.c
index d725f18..ef53230 100644
--- a/plugins/launcher/launcher.c
+++ b/plugins/launcher/launcher.c
@@ -792,7 +792,7 @@ launcher_plugin_items_load (LauncherPlugin *plugin,
               /* if something failed, use the pool item, but this one
                * won't be editable in the dialog */
               if (G_UNLIKELY (item == NULL))
-                item = g_object_ref (G_OBJECT (pool_item));
+                item = GARCON_MENU_ITEM (g_object_ref (G_OBJECT (pool_item)));
             }
 
           /* skip this item if still not found */

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


More information about the Xfce4-commits mailing list