Browse Source

gobject: Drop default ParentType

merge-requests/1327/merge
Bilal Elmoussaoui 4 years ago committed by Julian Sparber
parent
commit
2894e5510f
  1. 1
      src/components/toast.rs
  2. 1
      src/components/video_player_renderer.rs
  3. 1
      src/contrib/qr_code_scanner/camera.rs
  4. 1
      src/contrib/qr_code_scanner/camera_paintable.rs
  5. 1
      src/session/account_settings/devices_page/device.rs
  6. 1
      src/session/account_settings/devices_page/device_item.rs
  7. 1
      src/session/account_settings/devices_page/device_list.rs
  8. 1
      src/session/avatar.rs
  9. 1
      src/session/content/explore/public_room.rs
  10. 1
      src/session/content/explore/public_room_list.rs
  11. 1
      src/session/content/room_details/invite_subpage/invitee_list.rs
  12. 1
      src/session/content/room_details/member_page/member_menu.rs
  13. 1
      src/session/room/event.rs
  14. 1
      src/session/room/item.rs
  15. 1
      src/session/room/member_list.rs
  16. 1
      src/session/room/mod.rs
  17. 1
      src/session/room/power_levels.rs
  18. 1
      src/session/room/reaction_group.rs
  19. 1
      src/session/room/reaction_list.rs
  20. 1
      src/session/room/timeline.rs
  21. 1
      src/session/room_list.rs
  22. 1
      src/session/sidebar/account_switcher/item.rs
  23. 1
      src/session/sidebar/category.rs
  24. 1
      src/session/sidebar/entry.rs
  25. 1
      src/session/sidebar/item_list.rs
  26. 1
      src/session/sidebar/selection.rs
  27. 1
      src/session/user.rs
  28. 1
      src/session/verification/identity_verification.rs
  29. 1
      src/session/verification/verification_list.rs

1
src/components/toast.rs

@ -19,7 +19,6 @@ mod imp {
impl ObjectSubclass for Toast {
const NAME: &'static str = "ComponentsToast";
type Type = super::Toast;
type ParentType = glib::Object;
}
impl ObjectImpl for Toast {

1
src/components/video_player_renderer.rs

@ -18,7 +18,6 @@ mod imp {
impl ObjectSubclass for VideoPlayerRenderer {
const NAME: &'static str = "ComponentsVideoPlayerRenderer";
type Type = super::VideoPlayerRenderer;
type ParentType = glib::Object;
type Interfaces = (PlayerVideoRenderer,);
}

1
src/contrib/qr_code_scanner/camera.rs

@ -25,7 +25,6 @@ mod imp {
impl ObjectSubclass for Camera {
const NAME: &'static str = "Camera";
type Type = super::Camera;
type ParentType = glib::Object;
}
impl ObjectImpl for Camera {}

1
src/contrib/qr_code_scanner/camera_paintable.rs

@ -49,7 +49,6 @@ mod imp {
impl ObjectSubclass for CameraPaintable {
const NAME: &'static str = "CameraPaintable";
type Type = super::CameraPaintable;
type ParentType = glib::Object;
type Interfaces = (gdk::Paintable,);
}

1
src/session/account_settings/devices_page/device.rs

@ -29,7 +29,6 @@ mod imp {
impl ObjectSubclass for Device {
const NAME: &'static str = "Device";
type Type = super::Device;
type ParentType = glib::Object;
}
impl ObjectImpl for Device {

1
src/session/account_settings/devices_page/device_item.rs

@ -34,7 +34,6 @@ mod imp {
impl ObjectSubclass for Item {
const NAME: &'static str = "DeviceItem";
type Type = super::Item;
type ParentType = glib::Object;
}
impl ObjectImpl for Item {

1
src/session/account_settings/devices_page/device_list.rs

@ -29,7 +29,6 @@ mod imp {
impl ObjectSubclass for DeviceList {
const NAME: &'static str = "DeviceList";
type Type = super::DeviceList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/avatar.rs

@ -39,7 +39,6 @@ mod imp {
impl ObjectSubclass for Avatar {
const NAME: &'static str = "Avatar";
type Type = super::Avatar;
type ParentType = glib::Object;
}
impl ObjectImpl for Avatar {

1
src/session/content/explore/public_room.rs

@ -25,7 +25,6 @@ mod imp {
impl ObjectSubclass for PublicRoom {
const NAME: &'static str = "PublicRoom";
type Type = super::PublicRoom;
type ParentType = glib::Object;
}
impl ObjectImpl for PublicRoom {

1
src/session/content/explore/public_room_list.rs

@ -41,7 +41,6 @@ mod imp {
impl ObjectSubclass for PublicRoomList {
const NAME: &'static str = "PublicRoomList";
type Type = super::PublicRoomList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/content/room_details/invite_subpage/invitee_list.rs

@ -56,7 +56,6 @@ mod imp {
impl ObjectSubclass for InviteeList {
const NAME: &'static str = "InviteeList";
type Type = super::InviteeList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/content/room_details/member_page/member_menu.rs

@ -21,7 +21,6 @@ mod imp {
impl ObjectSubclass for MemberMenu {
const NAME: &'static str = "ContentMemberMenu";
type Type = super::MemberMenu;
type ParentType = glib::Object;
}
impl ObjectImpl for MemberMenu {

1
src/session/room/event.rs

@ -62,7 +62,6 @@ mod imp {
impl ObjectSubclass for Event {
const NAME: &'static str = "RoomEvent";
type Type = super::Event;
type ParentType = glib::Object;
}
impl ObjectImpl for Event {

1
src/session/room/item.rs

@ -42,7 +42,6 @@ mod imp {
impl ObjectSubclass for Item {
const NAME: &'static str = "RoomItem";
type Type = super::Item;
type ParentType = glib::Object;
}
impl ObjectImpl for Item {

1
src/session/room/member_list.rs

@ -24,7 +24,6 @@ mod imp {
impl ObjectSubclass for MemberList {
const NAME: &'static str = "MemberList";
type Type = super::MemberList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/room/mod.rs

@ -95,7 +95,6 @@ mod imp {
impl ObjectSubclass for Room {
const NAME: &'static str = "Room";
type Type = super::Room;
type ParentType = glib::Object;
}
impl ObjectImpl for Room {

1
src/session/room/power_levels.rs

@ -33,7 +33,6 @@ mod imp {
impl ObjectSubclass for PowerLevels {
const NAME: &'static str = "PowerLevels";
type Type = super::PowerLevels;
type ParentType = glib::Object;
}
impl ObjectImpl for PowerLevels {

1
src/session/room/reaction_group.rs

@ -23,7 +23,6 @@ mod imp {
impl ObjectSubclass for ReactionGroup {
const NAME: &'static str = "ReactionGroup";
type Type = super::ReactionGroup;
type ParentType = glib::Object;
}
impl ObjectImpl for ReactionGroup {

1
src/session/room/reaction_list.rs

@ -22,7 +22,6 @@ mod imp {
impl ObjectSubclass for ReactionList {
const NAME: &'static str = "ReactionList";
type Type = super::ReactionList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/room/timeline.rs

@ -80,7 +80,6 @@ mod imp {
impl ObjectSubclass for Timeline {
const NAME: &'static str = "Timeline";
type Type = super::Timeline;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/room_list.rs

@ -34,7 +34,6 @@ mod imp {
impl ObjectSubclass for RoomList {
const NAME: &'static str = "RoomList";
type Type = super::RoomList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/sidebar/account_switcher/item.rs

@ -19,7 +19,6 @@ mod imp {
impl ObjectSubclass for ExtraItemObj {
const NAME: &'static str = "ExtraItemObj";
type Type = super::ExtraItemObj;
type ParentType = glib::Object;
}
impl ObjectImpl for ExtraItemObj {

1
src/session/sidebar/category.rs

@ -20,7 +20,6 @@ mod imp {
impl ObjectSubclass for Category {
const NAME: &'static str = "Category";
type Type = super::Category;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/sidebar/entry.rs

@ -17,7 +17,6 @@ mod imp {
impl ObjectSubclass for Entry {
const NAME: &'static str = "Entry";
type Type = super::Entry;
type ParentType = glib::Object;
}
impl ObjectImpl for Entry {

1
src/session/sidebar/item_list.rs

@ -31,7 +31,6 @@ mod imp {
impl ObjectSubclass for ItemList {
const NAME: &'static str = "ItemList";
type Type = super::ItemList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

1
src/session/sidebar/selection.rs

@ -19,7 +19,6 @@ mod imp {
impl ObjectSubclass for Selection {
const NAME: &'static str = "SidebarSelection";
type Type = super::Selection;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel, gtk::SelectionModel);
fn new() -> Self {

1
src/session/user.rs

@ -48,7 +48,6 @@ mod imp {
impl ObjectSubclass for User {
const NAME: &'static str = "User";
type Type = super::User;
type ParentType = glib::Object;
}
impl ObjectImpl for User {

1
src/session/verification/identity_verification.rs

@ -188,7 +188,6 @@ mod imp {
impl ObjectSubclass for IdentityVerification {
const NAME: &'static str = "IdentityVerification";
type Type = super::IdentityVerification;
type ParentType = glib::Object;
}
impl ObjectImpl for IdentityVerification {

1
src/session/verification/verification_list.rs

@ -61,7 +61,6 @@ mod imp {
impl ObjectSubclass for VerificationList {
const NAME: &'static str = "VerificationList";
type Type = super::VerificationList;
type ParentType = glib::Object;
type Interfaces = (gio::ListModel,);
}

Loading…
Cancel
Save