tests: Ignore deprecations

... for where there's no replacement.
This commit is contained in:
Benjamin Otte 2013-06-24 01:13:44 +02:00
parent 6eea6ddcc3
commit 4c526e602b

View File

@ -47,6 +47,8 @@ recent_manager_add (void)
recent_data = g_slice_new0 (GtkRecentData); recent_data = g_slice_new0 (GtkRecentData);
G_GNUC_BEGIN_IGNORE_DEPRECATIONS;
/* mime type is mandatory */ /* mime type is mandatory */
recent_data->mime_type = NULL; recent_data->mime_type = NULL;
recent_data->app_name = "testrecentchooser"; recent_data->app_name = "testrecentchooser";
@ -83,6 +85,8 @@ recent_manager_add (void)
} }
g_test_trap_assert_failed (); g_test_trap_assert_failed ();
G_GNUC_END_IGNORE_DEPRECATIONS;
recent_data->mime_type = "text/plain"; recent_data->mime_type = "text/plain";
recent_data->app_name = "testrecentchooser"; recent_data->app_name = "testrecentchooser";
recent_data->app_exec = "testrecentchooser %u"; recent_data->app_exec = "testrecentchooser %u";