File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -119,8 +119,8 @@ public class Dock.App : Object {
119119 app_action_group. add_action (view_action);
120120
121121 var appcenter = Dock . AppCenter . get_default ();
122- appcenter. notify[" dbus" ]. connect (() = > on_appcenter_dbus_changed. begin (appcenter ));
123- on_appcenter_dbus_changed. begin (appcenter );
122+ appcenter. notify[" dbus" ]. connect (() = > on_appcenter_dbus_changed. begin ());
123+ on_appcenter_dbus_changed. begin ();
124124 }
125125
126126 notify[" pinned" ]. connect (() = > {
@@ -325,7 +325,8 @@ public class Dock.App : Object {
325325 });
326326 }
327327
328- private async void on_appcenter_dbus_changed (Dock . AppCenter appcenter) {
328+ private async void on_appcenter_dbus_changed () {
329+ var appcenter = Dock . AppCenter . get_default ();
329330 if (appcenter. dbus != null ) {
330331 try {
331332 appstream_comp_id = yield appcenter. dbus. get_component_from_desktop_id (app_info. get_id ());
You can’t perform that action at this time.
0 commit comments