File tree Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Expand file tree Collapse file tree 6 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -224,6 +224,7 @@ status = "generate"
224
224
225
225
[[object ]]
226
226
name = " Gdk.AppLaunchContext"
227
+ trait_name = " GdkAppLaunchContextExt" # Conflicts with GAppLaunchContext
227
228
status = " generate"
228
229
generate_builder = false
229
230
final_type = false
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ impl AppLaunchContext {
19
19
pub const NONE : Option < & ' static AppLaunchContext > = None ;
20
20
}
21
21
22
- pub trait AppLaunchContextExt : ' static {
22
+ pub trait GdkAppLaunchContextExt : ' static {
23
23
#[ doc( alias = "gdk_app_launch_context_get_display" ) ]
24
24
#[ doc( alias = "get_display" ) ]
25
25
fn display ( & self ) -> Display ;
@@ -37,7 +37,7 @@ pub trait AppLaunchContextExt: 'static {
37
37
fn set_timestamp ( & self , timestamp : u32 ) ;
38
38
}
39
39
40
- impl < O : IsA < AppLaunchContext > > AppLaunchContextExt for O {
40
+ impl < O : IsA < AppLaunchContext > > GdkAppLaunchContextExt for O {
41
41
fn display ( & self ) -> Display {
42
42
unsafe {
43
43
from_glib_none ( ffi:: gdk_app_launch_context_get_display (
Original file line number Diff line number Diff line change @@ -215,7 +215,7 @@ pub mod functions;
215
215
216
216
#[ doc( hidden) ]
217
217
pub mod traits {
218
- pub use super :: app_launch_context:: AppLaunchContextExt ;
218
+ pub use super :: app_launch_context:: GdkAppLaunchContextExt ;
219
219
pub use super :: content_provider:: ContentProviderExt ;
220
220
pub use super :: device:: DeviceExt ;
221
221
pub use super :: device_pad:: DevicePadExt ;
Original file line number Diff line number Diff line change @@ -156,7 +156,6 @@ generate = [
156
156
" Gtk.MediaFile" ,
157
157
" Gtk.MessageType" ,
158
158
" Gtk.MnemonicAction" ,
159
- " Gtk.MountOperation" ,
160
159
" Gtk.MovementStep" ,
161
160
" Gtk.Native" ,
162
161
" Gtk.NaturalWrapMode" ,
@@ -1599,6 +1598,11 @@ name = "Gtk.MnemonicTrigger"
1599
1598
status = " manual" # to make use of gdk::Key # to make use of gdk::Key
1600
1599
generate_builder = false
1601
1600
1601
+ [[object ]]
1602
+ name = " Gtk.MountOperation"
1603
+ status = " generate"
1604
+ trait_name = " GtkMountOperationExt" # Conflicts with GMountOperation
1605
+
1602
1606
[[object ]]
1603
1607
name = " Gtk.MultiFilter"
1604
1608
status = " generate"
Original file line number Diff line number Diff line change @@ -1312,7 +1312,7 @@ pub mod traits {
1312
1312
pub use super :: list_item:: ListItemExt ;
1313
1313
pub use super :: media_file:: MediaFileExt ;
1314
1314
pub use super :: media_stream:: MediaStreamExt ;
1315
- pub use super :: mount_operation:: MountOperationExt ;
1315
+ pub use super :: mount_operation:: GtkMountOperationExt ;
1316
1316
pub use super :: multi_filter:: MultiFilterExt ;
1317
1317
pub use super :: native:: NativeExt ;
1318
1318
pub use super :: native_dialog:: NativeDialogExt ;
Original file line number Diff line number Diff line change @@ -142,7 +142,7 @@ impl MountOperationBuilder {
142
142
}
143
143
}
144
144
145
- pub trait MountOperationExt : ' static {
145
+ pub trait GtkMountOperationExt : ' static {
146
146
#[ doc( alias = "gtk_mount_operation_get_display" ) ]
147
147
#[ doc( alias = "get_display" ) ]
148
148
fn display ( & self ) -> gdk:: Display ;
@@ -170,7 +170,7 @@ pub trait MountOperationExt: 'static {
170
170
fn connect_parent_notify < F : Fn ( & Self ) + ' static > ( & self , f : F ) -> SignalHandlerId ;
171
171
}
172
172
173
- impl < O : IsA < MountOperation > > MountOperationExt for O {
173
+ impl < O : IsA < MountOperation > > GtkMountOperationExt for O {
174
174
fn display ( & self ) -> gdk:: Display {
175
175
unsafe {
176
176
from_glib_none ( ffi:: gtk_mount_operation_get_display (
You can’t perform that action at this time.
0 commit comments