aboutsummaryrefslogtreecommitdiff
path: root/tests/indicator-test-service.c
diff options
context:
space:
mode:
authorRobert Tari <robert@tari.in>2020-08-08 10:05:24 +0200
committerRobert Tari <robert@tari.in>2020-08-08 10:05:24 +0200
commit7ceee62eb53671e2dd5211ca693e47877b55f2dd (patch)
treeaa576074b553be2a26e7027f5ab661840ede0671 /tests/indicator-test-service.c
parenta5b13749745f729216c42697d7dea961fa6c7f99 (diff)
downloadlibayatana-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.c2
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");