[gtk+] tests: Don't call gtk_style_context_invalidate()



commit 3d4277facbf2a85a77f2332bf939864b57753ea7
Author: Benjamin Otte <otte redhat com>
Date:   Tue Oct 1 15:08:55 2013 +0200

    tests: Don't call gtk_style_context_invalidate()
    
    It's not needed anymore.

 tests/testframe.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/tests/testframe.c b/tests/testframe.c
index 1ef5100..4eda506 100644
--- a/tests/testframe.c
+++ b/tests/testframe.c
@@ -47,7 +47,6 @@ spin_ythickness_cb (GtkSpinButton *spin, gpointer user_data)
   gtk_css_provider_load_from_data (provider, data, -1, NULL);
   g_free (data);
 
-  gtk_style_context_invalidate (context);
   gtk_widget_queue_resize (frame);
 }
 
@@ -80,7 +79,6 @@ spin_xthickness_cb (GtkSpinButton *spin, gpointer user_data)
   gtk_css_provider_load_from_data (provider, data, -1, NULL);
   g_free (data);
 
-  gtk_style_context_invalidate (context);
   gtk_widget_queue_resize (frame);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]