[gnome-disk-utility] gduatasmartdialog: Replace deprecated GIO function
- From: Kai Lüke <kailueke src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-disk-utility] gduatasmartdialog: Replace deprecated GIO function
- Date: Fri, 1 Apr 2022 20:05:10 +0000 (UTC)
commit 5c80d88f6c2662d215e3c00ef0012756bece8d3b
Author: Manuel Wassermann <manuel wassermann97 gmail com>
Date: Wed Mar 30 13:56:41 2022 +0200
gduatasmartdialog: Replace deprecated GIO function
src/disks/gduatasmartdialog.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/disks/gduatasmartdialog.c b/src/disks/gduatasmartdialog.c
index da3116c1..2deb6618 100644
--- a/src/disks/gduatasmartdialog.c
+++ b/src/disks/gduatasmartdialog.c
@@ -1684,15 +1684,15 @@ gdu_ata_smart_dialog_show (GduWindow *window,
action = g_simple_action_new ("short", NULL);
g_signal_connect (action, "activate", G_CALLBACK (on_selftest_short), data);
- g_simple_action_group_insert (group, G_ACTION (action));
+ g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action));
action = g_simple_action_new ("extended", NULL);
g_signal_connect (action, "activate", G_CALLBACK (on_selftest_extended), data);
- g_simple_action_group_insert (group, G_ACTION (action));
+ g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action));
action = g_simple_action_new ("conveyance", NULL);
g_signal_connect (action, "activate", G_CALLBACK (on_selftest_conveyance), data);
- g_simple_action_group_insert (group, G_ACTION (action));
+ g_action_map_add_action (G_ACTION_MAP (group), G_ACTION (action));
gtk_widget_insert_action_group (GTK_WIDGET (data->dialog), "test", G_ACTION_GROUP (group));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]