File tree Expand file tree Collapse file tree 5 files changed +0
-15
lines changed Expand file tree Collapse file tree 5 files changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ mod imp {
30
30
31
31
fn class_init ( klass : & mut Self :: Class ) {
32
32
klass. bind_template ( ) ;
33
- klass. bind_template_callbacks ( ) ;
34
33
}
35
34
36
35
fn instance_init ( obj : & glib:: subclass:: InitializingObject < Self > ) {
@@ -63,7 +62,6 @@ mod imp {
63
62
impl WidgetImpl for PwChannelBox { }
64
63
impl ListBoxRowImpl for PwChannelBox { }
65
64
66
- #[ gtk:: template_callbacks]
67
65
impl PwChannelBox { }
68
66
}
69
67
Original file line number Diff line number Diff line change @@ -30,7 +30,6 @@ mod imp {
30
30
31
31
fn class_init ( klass : & mut Self :: Class ) {
32
32
klass. bind_template ( ) ;
33
- klass. bind_template_callbacks ( ) ;
34
33
}
35
34
36
35
fn instance_init ( obj : & glib:: subclass:: InitializingObject < Self > ) {
@@ -63,7 +62,6 @@ mod imp {
63
62
impl WidgetImpl for PwDeviceBox { }
64
63
impl ListBoxRowImpl for PwDeviceBox { }
65
64
66
- #[ gtk:: template_callbacks]
67
65
impl PwDeviceBox { }
68
66
}
69
67
Original file line number Diff line number Diff line change @@ -37,15 +37,13 @@ mod imp {
37
37
38
38
fn class_init ( klass : & mut Self :: Class ) {
39
39
klass. bind_template ( ) ;
40
- klass. bind_template_callbacks ( ) ;
41
40
}
42
41
43
42
fn instance_init ( obj : & glib:: subclass:: InitializingObject < Self > ) {
44
43
obj. init_template ( ) ;
45
44
}
46
45
}
47
46
48
- #[ gtk:: template_callbacks]
49
47
impl PwStreamDropDown {
50
48
fn set_nodeobj ( & self , nodeobj : Option < & PwNodeObject > ) {
51
49
let manager = PwvucontrolManager :: default ( ) ;
Original file line number Diff line number Diff line change @@ -64,7 +64,6 @@ mod imp {
64
64
65
65
fn class_init ( klass : & mut Self :: Class ) {
66
66
klass. bind_template ( ) ;
67
- klass. bind_template_callbacks ( ) ;
68
67
}
69
68
70
69
fn instance_init ( obj : & glib:: subclass:: InitializingObject < Self > ) {
@@ -216,13 +215,7 @@ mod imp {
216
215
}
217
216
}
218
217
219
- #[ gtk:: template_callbacks]
220
218
impl PwVolumeBox {
221
- #[ template_callback]
222
- fn invert_bool ( & self , value : bool ) -> bool {
223
- !value
224
- }
225
-
226
219
fn setuplevelbar ( & self ) {
227
220
let item = self . node_object . borrow ( ) ;
228
221
let item = item. as_ref ( ) . cloned ( ) . unwrap ( ) ;
Original file line number Diff line number Diff line change @@ -74,7 +74,6 @@ mod imp {
74
74
PwVolumeBox :: ensure_type ( ) ;
75
75
76
76
klass. bind_template ( ) ;
77
- klass. bind_template_callbacks ( ) ;
78
77
}
79
78
80
79
fn instance_init ( obj : & glib:: subclass:: InitializingObject < Self > ) {
@@ -198,7 +197,6 @@ mod imp {
198
197
impl ApplicationWindowImpl for PwvucontrolWindow { }
199
198
impl AdwApplicationWindowImpl for PwvucontrolWindow { }
200
199
201
- #[ gtk:: template_callbacks]
202
200
impl PwvucontrolWindow { }
203
201
}
204
202
You can’t perform that action at this time.
0 commit comments