diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-12-18 13:51:55 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-12-18 13:51:55 +0000 |
commit | 64602f81dd4ecc257e8c5139f42b902d3555ea78 (patch) | |
tree | 85e7aaf8930e26f19c497d5a9aaa2df1881f4a6d /gnome-base/gnome-control-center/files | |
parent | f8730c9e91ed2ce341e231c5adffb5f003f77678 (diff) |
gentoo auto-resync : 18:12:2023 - 13:51:55
Diffstat (limited to 'gnome-base/gnome-control-center/files')
-rw-r--r-- | gnome-base/gnome-control-center/files/45.2-fix_incompatible_type_warnings.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/gnome-base/gnome-control-center/files/45.2-fix_incompatible_type_warnings.patch b/gnome-base/gnome-control-center/files/45.2-fix_incompatible_type_warnings.patch new file mode 100644 index 000000000000..4b0867bfa0b2 --- /dev/null +++ b/gnome-base/gnome-control-center/files/45.2-fix_incompatible_type_warnings.patch @@ -0,0 +1,39 @@ +From 13c939659a844049ddc68e90c7830bf96ebe174d Mon Sep 17 00:00:00 2001 +From: Marco Melorio <marco.melorio@protonmail.com> +Date: Thu, 5 Oct 2023 19:21:39 +0200 +Subject: [PATCH] misc: Fix incompatible type warnings + +--- + panels/datetime/cc-datetime-panel.c | 2 +- + panels/network/net-device-wifi.c | 2 +- + 2 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/panels/datetime/cc-datetime-panel.c b/panels/datetime/cc-datetime-panel.c +index 3544411d04..204b8ce44d 100644 +--- a/panels/datetime/cc-datetime-panel.c ++++ b/panels/datetime/cc-datetime-panel.c +@@ -695,7 +695,7 @@ list_box_row_activated (CcDateTimePanel *self, + } + else if (row == GTK_LIST_BOX_ROW (self->timezone_row)) + { +- present_window (self, self->timezone_dialog); ++ present_window (self, GTK_WINDOW (self->timezone_dialog)); + } + } + +diff --git a/panels/network/net-device-wifi.c b/panels/network/net-device-wifi.c +index dd4453d0f8..3cb66e19fa 100644 +--- a/panels/network/net-device-wifi.c ++++ b/panels/network/net-device-wifi.c +@@ -780,7 +780,7 @@ net_device_wifi_dispose (GObject *object) + NetDeviceWifi *self = NET_DEVICE_WIFI (object); + + if (self->hotspot_dialog) { +- gtk_window_destroy (self->hotspot_dialog); ++ gtk_window_destroy (GTK_WINDOW (self->hotspot_dialog)); + self->hotspot_dialog = NULL; + } + +-- +GitLab + |