Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in / Register
  • libhandy libhandy
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 131
    • Issues 131
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 19
    • Merge requests 19
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • Librem5
  • libhandylibhandy
  • Merge requests
  • !174

header-group: Ref itself instead of header bars

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Alexander Mikhaylenko requested to merge exalm/libhandy:wip/exalm/56 into master Dec 03, 2018
  • Overview 7
  • Commits 2
  • Pipelines 5
  • Changes 1

When adding a header bar, ref the header group and connect to 'destroy' signal of the header bar. When a header bar is destroyed or hdy_header_group_remove_header_bar() is called, unref the header bar and remove it from the list.

This way, a non-empty header group only destroyed after every header bar it contains has been removed from the group or destroyed.

Fixes #56 (closed)

Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: wip/exalm/56