Wireshark-commits: [Wireshark-commits] master 8b45727: Un-reference actions after adding them to an
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Sat, 15 Aug 2015 18:35:22 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=8b4572728d541e1039e4665dca8c6427db4a2132
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

8b45727 by Guy Harris (guy@xxxxxxxxxxxx):

    Un-reference actions after adding them to an action group.
    
    When created, they have a reference count of 1; when added to an action
    group, the reference count is increased as a pointer is held by the
    action group.  Release the reference we got, as we're not holding onto
    it.
    
    Also, rename "menu_item" to "menu_action", to indicate that it's an action.
    
    Change-Id: I54543dcc2e6c3b341a9f584fe1b6099a134771b3
    Reviewed-on: https://code.wireshark.org/review/10049
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  1b46738   Do the "plugin" menu stuff in one pass.
    adds  8b45727   Un-reference actions after adding them to an action group.


Summary of changes:
 ui/gtk/main_menubar.c |   14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)