Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions bin/backlight_helper/ddcci/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ import (
"github.com/godbus/dbus/v5"
"github.com/linuxdeepin/go-lib/dbusutil"
"github.com/linuxdeepin/go-lib/log"
x "github.com/linuxdeepin/go-x11-client"
)

const (
Expand All @@ -26,8 +25,7 @@ type Manager struct {
service *dbusutil.Service
ddcci *ddcci

PropsMu sync.RWMutex
configTimestamp x.Timestamp
PropsMu sync.RWMutex
}

func NewManager(service *dbusutil.Service) (*Manager, error) {
Expand Down
1 change: 0 additions & 1 deletion misc/conf/org.deepin.dde.BacklightHelper1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow own="org.deepin.dde.BacklightHelper1"/>
<allow send_destination="org.deepin.dde.BacklightHelper1"/>

<allow send_destination="org.deepin.dde.BacklightHelper1"
Expand Down
1 change: 0 additions & 1 deletion misc/conf/org.deepin.dde.Daemon1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow own="org.deepin.dde.Daemon1"/>
<allow send_destination="org.deepin.dde.Daemon1"/>

<allow send_destination="org.deepin.dde.Daemon1"
Expand Down
1 change: 0 additions & 1 deletion misc/conf/org.deepin.dde.Greeter1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow own="org.deepin.dde.Greeter1"/>
<allow send_destination="org.deepin.dde.Greeter1"/>

<allow send_destination="org.deepin.dde.Greeter1"
Expand Down
1 change: 0 additions & 1 deletion misc/conf/org.deepin.dde.Timedate1.conf
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@

<!-- Allow anyone to invoke methods on the interfaces -->
<policy context="default">
<allow own="org.deepin.dde.Timedate1"/>
<allow send_destination="org.deepin.dde.Timedate1"/>

<allow send_destination="org.deepin.dde.Timedate1"
Expand Down
Loading