~3v1n0/bamf/libbamf-desktop-id-based-factory

« back to all changes in this revision

Viewing changes to src/bamf-application.c

  • Committer: Tarmac
  • Author(s): Robert Carr
  • Date: 2012-09-17 17:40:53 UTC
  • mfrom: (482.1.1 bamf)
  • Revision ID: tarmac-20120917174053-xpuqblbpbxljljty
Fix typo in bamf_unity_webapps_application_get_close_when_empty, closes bug 1051042. Fixes: https://bugs.launchpad.net/bugs/1051042. Approved by Marco Trevisan (Treviño).

Show diffs side-by-side

added added

removed removed

Lines of Context:
576
576
 
577
577
  close_when_empty = bamf_application_get_close_when_empty (self);
578
578
  bamf_view_set_urgent       (BAMF_VIEW (self), urgent);
579
 
  if (!((close_when_empty == FALSE) && running == FALSE))
 
579
  if (close_when_empty == TRUE || running == TRUE)
580
580
    bamf_view_set_user_visible (BAMF_VIEW (self), visible);
581
581
  if ((running == TRUE) || close_when_empty)
582
582
    bamf_view_set_running      (BAMF_VIEW (self), running);