Skip to content
This repository has been archived by the owner on Jun 8, 2021. It is now read-only.

Fix object properties #25

Merged
merged 2 commits into from
May 8, 2017
Merged
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
2 changes: 1 addition & 1 deletion gir
Submodule gir updated 1 files
+4 −3 src/analysis/bounds.rs
2 changes: 1 addition & 1 deletion src/auto/action.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/action_group.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Object;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/action_map.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Action;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/app_info.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use AppInfoCreateFlags;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/app_launch_context.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

#[cfg(feature = "v2_36")]
Expand Down
6 changes: 3 additions & 3 deletions src/auto/application.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use ActionGroup;
Expand Down Expand Up @@ -125,7 +125,7 @@ pub trait ApplicationExt {
#[cfg(feature = "v2_40")]
fn withdraw_notification(&self, id: &str);

fn set_property_action_group(&self, action_group: Option<&ActionGroup>);
fn set_property_action_group<P: IsA<ActionGroup> + IsA<Object>>(&self, action_group: Option<&P>);

fn get_property_application_id(&self) -> Option<String>;

Expand Down Expand Up @@ -354,7 +354,7 @@ impl<O: IsA<Application> + IsA<Object>> ApplicationExt for O {
}
}

fn set_property_action_group(&self, action_group: Option<&ActionGroup>) {
fn set_property_action_group<P: IsA<ActionGroup> + IsA<Object>>(&self, action_group: Option<&P>) {
unsafe {
gobject_ffi::g_object_set_property(self.to_glib_none().0, "action-group".to_glib_none().0, Value::from(action_group).to_glib_none().0);
}
Expand Down
2 changes: 1 addition & 1 deletion src/auto/enums.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/flags.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/menu.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use MenuItem;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/menu_attribute_iter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use ffi;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/menu_item.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use MenuModel;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/menu_link_iter.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use MenuModel;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/menu_model.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use MenuAttributeIter;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/mod.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

mod action;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/permission.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Object;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/resource.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Error;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/settings.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Action;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/simple_action.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Action;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/simple_action_group.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Action;
Expand Down
2 changes: 1 addition & 1 deletion src/auto/simple_permission.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// This file was generated by gir (32b0f11) from gir-files (71d73f0)
// This file was generated by gir (f493ea3) from gir-files (71d73f0)
// DO NOT EDIT

use Permission;
Expand Down