The actions test tests the GSimpleActionGroup API. Maybe this
should be moved to use GActionMap, but for now, just disable
the deprecations.
There was also one test that wasn't actually hooked up, so
do that as well.
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_simple_group (void)
{
static void
test_simple_group (void)
{
+G_GNUC_END_IGNORE_DEPRECATIONS
+
static void
test_stateful (void)
{
static void
test_stateful (void)
{
g_simple_action_set_state (action, value);
}
g_simple_action_set_state (action, value);
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_entries (void)
{
static void
test_entries (void)
{
g_object_unref (actions);
}
g_object_unref (actions);
}
+G_GNUC_END_IGNORE_DEPRECATIONS
+
static void
test_parse_detailed (void)
{
static void
test_parse_detailed (void)
{
return G_SOURCE_REMOVE;
}
return G_SOURCE_REMOVE;
}
+G_GNUC_BEGIN_IGNORE_DEPRECATIONS
+
static void
test_dbus_export (void)
{
static void
test_dbus_export (void)
{
+G_GNUC_END_IGNORE_DEPRECATIONS
+
static void
test_bug679509 (void)
{
static void
test_bug679509 (void)
{
g_test_add_func ("/actions/parse-detailed", test_parse_detailed);
g_test_add_func ("/actions/dbus/export", test_dbus_export);
g_test_add_func ("/actions/dbus/threaded", test_dbus_threaded);
g_test_add_func ("/actions/parse-detailed", test_parse_detailed);
g_test_add_func ("/actions/dbus/export", test_dbus_export);
g_test_add_func ("/actions/dbus/threaded", test_dbus_threaded);
+ g_test_add_func ("/actions/dbus/bug679509", test_bug679509);
g_test_add_func ("/actions/property", test_property_actions);
return g_test_run ();
g_test_add_func ("/actions/property", test_property_actions);
return g_test_run ();