summarylogtreecommitdiffstats
path: root/fix-build.patch
blob: 9332dc740d154164b7ca2242f36b035c12b3a85d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
diff --git a/src/common/iBatteryPlugin.vala b/src/common/iBatteryPlugin.vala
index a4b3502..5514cc3 100644
--- a/src/common/iBatteryPlugin.vala
+++ b/src/common/iBatteryPlugin.vala
@@ -76,7 +76,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected void int32_signal_cb (DBusConnection con, 
-                                        string sender, 
+                                        string? sender,
                                         string object,
                                         string interface, 
                                         string signal_name, 
@@ -87,7 +87,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected void boolean_signal_cb (DBusConnection con,
-                                          string sender,
+                                          string? sender,
                                           string object,
                                           string interface,
                                           string signal_name,
diff --git a/src/common/iDaemonPlugin.vala b/src/common/iDaemonPlugin.vala
index 8653729..201da90 100644
--- a/src/common/iDaemonPlugin.vala
+++ b/src/common/iDaemonPlugin.vala
@@ -114,7 +114,7 @@ namespace IndicatorKDEConnect {
         /*Signals Callbacks*/
 
         protected virtual void device_added_cb (DBusConnection con, 
-                                             string sender, 
+                                             string? sender,
                                              string object,
                                              string interface, 
                                              string signal_name, 
@@ -128,7 +128,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected virtual void device_removed_cb (DBusConnection con, 
-                                               string sender, 
+                                               string? sender,
                                                string object,
                                                string interface, 
                                                string signal_name, 
@@ -142,7 +142,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected virtual void device_visibility_changed_cb (DBusConnection con,
-                                                             string sender, 
+                                                             string? sender,
                                                              string object,
                                                              string interface, 
                                                              string signal_name, 
@@ -157,7 +157,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected virtual void pairing_requests_changed_cb (DBusConnection con, 
-                                                         string sender, 
+                                                         string? sender,
                                                          string object,
                                                          string interface, 
                                                          string signal_name, 
diff --git a/src/common/iDevicePlugin.vala b/src/common/iDevicePlugin.vala
index 8570775..bad3eac 100644
--- a/src/common/iDevicePlugin.vala
+++ b/src/common/iDevicePlugin.vala
@@ -237,7 +237,7 @@ namespace IndicatorKDEConnect {
 
         /*Callbacks */
         protected void void_signal_cb (DBusConnection con, 
-                                       string sender,
+                                       string? sender,
                                        string object,
                                        string interface,
                                        string signal_name,
@@ -253,7 +253,7 @@ namespace IndicatorKDEConnect {
         }        
 
         protected void string_signal_cb (DBusConnection con, 
-                                         string sender,
+                                         string? sender,
                                          string object,
                                          string interface,
                                          string signal_name,
@@ -273,7 +273,7 @@ namespace IndicatorKDEConnect {
         }
 
         protected void boolean_signal_cb (DBusConnection con, 
-                                          string sender,
+                                          string? sender,
                                           string object,
                                           string interface,
                                           string signal_name,
diff --git a/src/common/iSignals.vala b/src/common/iSignals.vala
index 52c2b82..1eb390b 100644
--- a/src/common/iSignals.vala
+++ b/src/common/iSignals.vala
@@ -6,7 +6,7 @@
 namespace IndicatorKDEConnect {
     public interface ISignals : Object {
         public virtual void void_signal_cb (DBusConnection con, 
-                                            string sender, 
+                                            string? sender,
                                             string object,
                                             string interface, 
                                             string signal_name, 
@@ -16,7 +16,7 @@ namespace IndicatorKDEConnect {
         }
 
         public virtual void boolean_signal_cb (DBusConnection con, 
-                                               string sender,
+                                               string? sender,
                                                string object,
                                                string interface,
                                                string signal_name,
@@ -26,7 +26,7 @@ namespace IndicatorKDEConnect {
         }
 
         public virtual void string_signal_cb (DBusConnection con, 
-                                              string sender,
+                                              string? sender,
                                               string object,
                                               string interface,
                                               string signal_name,
@@ -36,7 +36,7 @@ namespace IndicatorKDEConnect {
         }                               
         
         public virtual void int32_signal_cb (DBusConnection con, 
-                                             string sender, 
+                                             string? sender,
                                              string object,
                                              string interface, 
                                              string signal_name,