summaryrefslogtreecommitdiff
path: root/testsuite/gtk/stylecontext.c
diff options
context:
space:
mode:
authorRico Tzschichholz <ricotz@ubuntu.com>2016-10-23 17:26:37 +0200
committerRico Tzschichholz <ricotz@ubuntu.com>2016-10-23 18:23:59 +0200
commit502e63eddc6c8c705edbc89c26572a443baa6e26 (patch)
treecbfb4fd5ab8544bf8cfcd406c3664efb383c5674 /testsuite/gtk/stylecontext.c
parent5c526c9926f56a4aabbfebac8177883dbae8985a (diff)
downloadgtk+-502e63eddc6c8c705edbc89c26572a443baa6e26.tar.gz
stylecontext: Remove deprecated API
Diffstat (limited to 'testsuite/gtk/stylecontext.c')
-rw-r--r--testsuite/gtk/stylecontext.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/testsuite/gtk/stylecontext.c b/testsuite/gtk/stylecontext.c
index e12b1ae089..57a8dd53c6 100644
--- a/testsuite/gtk/stylecontext.c
+++ b/testsuite/gtk/stylecontext.c
@@ -258,24 +258,6 @@ test_basic_properties (void)
}
void
-test_invalidate_saved (void)
-{
- GtkWidget *window;
- GtkStyleContext *context;
-
- window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-
- context = gtk_widget_get_style_context (window);
- gtk_style_context_save (context);
-G_GNUC_BEGIN_IGNORE_DEPRECATIONS
- gtk_style_context_invalidate (context);
-G_GNUC_END_IGNORE_DEPRECATIONS
- gtk_style_context_restore (context);
-
- gtk_widget_destroy (window);
-}
-
-void
test_widget_path_parent (void)
{
GtkStyleContext *parent, *context;
@@ -533,7 +515,6 @@ main (int argc, char *argv[])
g_test_add_func ("/style/path", test_path);
g_test_add_func ("/style/match", test_match);
g_test_add_func ("/style/basic", test_basic_properties);
- g_test_add_func ("/style/invalidate-saved", test_invalidate_saved);
g_test_add_func ("/style/widget-path-parent", test_widget_path_parent);
g_test_add_func ("/style/classes", test_style_classes);