~cairo-dock-team/cairo-dock-core/3.3.x

« back to all changes in this revision

Viewing changes to src/gldit/cairo-dock-container.c

  • Committer: Fabrice Rey
  • Date: 2013-10-18 22:58:34 UTC
  • mfrom: (1652.1.3 cairo-dock-core)
  • Revision ID: fabounet03@gmail.com-20131018225834-kh6rr6r94k5y3mt9
bug-fixs: merged from core revision 1653..1655

Show diffs side-by-side

added added

removed removed

Lines of Context:
388
388
        
389
389
        gldi_object_notify (pContainer, NOTIFICATION_BUILD_ICON_MENU, icon, pContainer, menu);
390
390
        
391
 
        if (pContainer->iface.setup_menu)
392
 
                pContainer->iface.setup_menu (pContainer, icon, menu);
393
 
        
394
391
        s_pMenu = menu;
395
392
        g_object_add_weak_pointer (G_OBJECT (menu), (gpointer*)&s_pMenu);  // will nullify 's_pMenu' as soon as the menu is destroyed.
396
393
        return menu;