[fractal/bilelmoussaoui/cleanup: 3/3] gobject: Drop default ParentType
- From: Julian Sparber <jsparber src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [fractal/bilelmoussaoui/cleanup: 3/3] gobject: Drop default ParentType
- Date: Thu, 31 Mar 2022 09:29:53 +0000 (UTC)
commit ca9ed147a547fb239402a04ffeffe01d72086ec2
Author: Bilal Elmoussaoui <belmouss redhat com>
Date: Thu Mar 31 11:27:32 2022 +0200
gobject: Drop default ParentType
src/components/toast.rs | 1 -
src/components/video_player_renderer.rs | 1 -
src/contrib/qr_code_scanner/camera.rs | 1 -
src/contrib/qr_code_scanner/camera_paintable.rs | 1 -
src/session/account_settings/devices_page/device.rs | 1 -
src/session/account_settings/devices_page/device_item.rs | 1 -
src/session/account_settings/devices_page/device_list.rs | 1 -
src/session/avatar.rs | 1 -
src/session/content/explore/public_room.rs | 1 -
src/session/content/explore/public_room_list.rs | 1 -
src/session/content/room_details/invite_subpage/invitee_list.rs | 1 -
src/session/content/room_details/member_page/member_menu.rs | 1 -
src/session/room/event.rs | 1 -
src/session/room/item.rs | 1 -
src/session/room/member_list.rs | 1 -
src/session/room/mod.rs | 1 -
src/session/room/power_levels.rs | 1 -
src/session/room/reaction_group.rs | 1 -
src/session/room/reaction_list.rs | 1 -
src/session/room/timeline.rs | 1 -
src/session/room_list.rs | 1 -
src/session/sidebar/account_switcher/item.rs | 1 -
src/session/sidebar/category.rs | 1 -
src/session/sidebar/entry.rs | 1 -
src/session/sidebar/item_list.rs | 1 -
src/session/sidebar/selection.rs | 1 -
src/session/user.rs | 1 -
src/session/verification/identity_verification.rs | 1 -
src/session/verification/verification_list.rs | 1 -
29 files changed, 29 deletions(-)
---
diff --git a/src/components/toast.rs b/src/components/toast.rs
index df52cbd42..6581445a2 100644
--- a/src/components/toast.rs
+++ b/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 {
diff --git a/src/components/video_player_renderer.rs b/src/components/video_player_renderer.rs
index e610c8026..dcd335c26 100644
--- a/src/components/video_player_renderer.rs
+++ b/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,);
}
diff --git a/src/contrib/qr_code_scanner/camera.rs b/src/contrib/qr_code_scanner/camera.rs
index 8ea583853..818c4164b 100644
--- a/src/contrib/qr_code_scanner/camera.rs
+++ b/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 {}
diff --git a/src/contrib/qr_code_scanner/camera_paintable.rs b/src/contrib/qr_code_scanner/camera_paintable.rs
index 462e970df..5131d9005 100644
--- a/src/contrib/qr_code_scanner/camera_paintable.rs
+++ b/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,);
}
diff --git a/src/session/account_settings/devices_page/device.rs
b/src/session/account_settings/devices_page/device.rs
index f6a64bca0..609abacfc 100644
--- a/src/session/account_settings/devices_page/device.rs
+++ b/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 {
diff --git a/src/session/account_settings/devices_page/device_item.rs
b/src/session/account_settings/devices_page/device_item.rs
index 3c50d26af..75fa0b90a 100644
--- a/src/session/account_settings/devices_page/device_item.rs
+++ b/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 {
diff --git a/src/session/account_settings/devices_page/device_list.rs
b/src/session/account_settings/devices_page/device_list.rs
index ec3ad8dd8..deab564fa 100644
--- a/src/session/account_settings/devices_page/device_list.rs
+++ b/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,);
}
diff --git a/src/session/avatar.rs b/src/session/avatar.rs
index 3f4252839..89810cb65 100644
--- a/src/session/avatar.rs
+++ b/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 {
diff --git a/src/session/content/explore/public_room.rs b/src/session/content/explore/public_room.rs
index df3df63f3..929da4684 100644
--- a/src/session/content/explore/public_room.rs
+++ b/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 {
diff --git a/src/session/content/explore/public_room_list.rs b/src/session/content/explore/public_room_list.rs
index c0967b1b8..3824d31ea 100644
--- a/src/session/content/explore/public_room_list.rs
+++ b/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,);
}
diff --git a/src/session/content/room_details/invite_subpage/invitee_list.rs
b/src/session/content/room_details/invite_subpage/invitee_list.rs
index 9e49aa387..079eacee5 100644
--- a/src/session/content/room_details/invite_subpage/invitee_list.rs
+++ b/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,);
}
diff --git a/src/session/content/room_details/member_page/member_menu.rs
b/src/session/content/room_details/member_page/member_menu.rs
index 843a42c40..176d63a76 100644
--- a/src/session/content/room_details/member_page/member_menu.rs
+++ b/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 {
diff --git a/src/session/room/event.rs b/src/session/room/event.rs
index 7de068441..f75d3bfe7 100644
--- a/src/session/room/event.rs
+++ b/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 {
diff --git a/src/session/room/item.rs b/src/session/room/item.rs
index 6851a61e1..9821c3b3e 100644
--- a/src/session/room/item.rs
+++ b/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 {
diff --git a/src/session/room/member_list.rs b/src/session/room/member_list.rs
index 88afd8fdb..e37c93174 100644
--- a/src/session/room/member_list.rs
+++ b/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,);
}
diff --git a/src/session/room/mod.rs b/src/session/room/mod.rs
index a344490d7..dbafe4305 100644
--- a/src/session/room/mod.rs
+++ b/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 {
diff --git a/src/session/room/power_levels.rs b/src/session/room/power_levels.rs
index 9923493ed..5a462b6e2 100644
--- a/src/session/room/power_levels.rs
+++ b/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 {
diff --git a/src/session/room/reaction_group.rs b/src/session/room/reaction_group.rs
index eb0d4fee6..339f7269d 100644
--- a/src/session/room/reaction_group.rs
+++ b/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 {
diff --git a/src/session/room/reaction_list.rs b/src/session/room/reaction_list.rs
index 9cc9b74ce..ae946b0aa 100644
--- a/src/session/room/reaction_list.rs
+++ b/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,);
}
diff --git a/src/session/room/timeline.rs b/src/session/room/timeline.rs
index 8569086a9..3b413134b 100644
--- a/src/session/room/timeline.rs
+++ b/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,);
}
diff --git a/src/session/room_list.rs b/src/session/room_list.rs
index 256938cac..cc8200a51 100644
--- a/src/session/room_list.rs
+++ b/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,);
}
diff --git a/src/session/sidebar/account_switcher/item.rs b/src/session/sidebar/account_switcher/item.rs
index d84b2c877..1a7805271 100644
--- a/src/session/sidebar/account_switcher/item.rs
+++ b/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 {
diff --git a/src/session/sidebar/category.rs b/src/session/sidebar/category.rs
index ba8d25c49..69dd90f23 100644
--- a/src/session/sidebar/category.rs
+++ b/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,);
}
diff --git a/src/session/sidebar/entry.rs b/src/session/sidebar/entry.rs
index d649c144f..79c3ffbb0 100644
--- a/src/session/sidebar/entry.rs
+++ b/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 {
diff --git a/src/session/sidebar/item_list.rs b/src/session/sidebar/item_list.rs
index 77a5632bf..bee93a346 100644
--- a/src/session/sidebar/item_list.rs
+++ b/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,);
}
diff --git a/src/session/sidebar/selection.rs b/src/session/sidebar/selection.rs
index 68bb5ce98..52befadbe 100644
--- a/src/session/sidebar/selection.rs
+++ b/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 {
diff --git a/src/session/user.rs b/src/session/user.rs
index b87c7ae2e..42308de4c 100644
--- a/src/session/user.rs
+++ b/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 {
diff --git a/src/session/verification/identity_verification.rs
b/src/session/verification/identity_verification.rs
index 9b5ba0926..e7082e909 100644
--- a/src/session/verification/identity_verification.rs
+++ b/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 {
diff --git a/src/session/verification/verification_list.rs b/src/session/verification/verification_list.rs
index 1ca224547..bbe3da93d 100644
--- a/src/session/verification/verification_list.rs
+++ b/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,);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]