diff options
author | Robert Tari <robert@tari.in> | 2020-08-08 10:05:24 +0200 |
---|---|---|
committer | Robert Tari <robert@tari.in> | 2020-08-08 10:05:24 +0200 |
commit | 7ceee62eb53671e2dd5211ca693e47877b55f2dd (patch) | |
tree | aa576074b553be2a26e7027f5ab661840ede0671 /tests/indicator-test-service.c | |
parent | a5b13749745f729216c42697d7dea961fa6c7f99 (diff) | |
download | libayatana-indicator-7ceee62eb53671e2dd5211ca693e47877b55f2dd.tar.gz libayatana-indicator-7ceee62eb53671e2dd5211ca693e47877b55f2dd.tar.bz2 libayatana-indicator-7ceee62eb53671e2dd5211ca693e47877b55f2dd.zip |
Fix tests and deprecations (fixes #1)
Diffstat (limited to 'tests/indicator-test-service.c')
-rw-r--r-- | tests/indicator-test-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/indicator-test-service.c b/tests/indicator-test-service.c index 2aa973e..39e7ea6 100644 --- a/tests/indicator-test-service.c +++ b/tests/indicator-test-service.c @@ -78,7 +78,7 @@ main (int argc, char **argv) GMainLoop *loop; indicator.actions = g_simple_action_group_new (); - g_simple_action_group_add_entries (indicator.actions, entries, G_N_ELEMENTS (entries), NULL); + g_action_map_add_action_entries(G_ACTION_MAP(indicator.actions), entries, G_N_ELEMENTS (entries), NULL); submenu = g_menu_new (); g_menu_append (submenu, "Show", "indicator.show"); |