]> Pileus Git - ~andy/gtk/blobdiff - tests/styleexamples.c
stylecontext: Do invalidation on first resize container
[~andy/gtk] / tests / styleexamples.c
index e583ce8aead2f017e8586942731fc274b5460442..b3169f4e9c5d473e8ffc8dea3fed064e02d8c494 100644 (file)
@@ -151,12 +151,6 @@ draw_cb_activity (GtkWidget *widget, cairo_t *cr)
   GtkWidgetPath *path;
 
   context = gtk_widget_get_style_context (widget);
-  gtk_style_context_notify_state_change (context,
-                                         gtk_widget_get_window (widget),
-                                         NULL,
-                                         GTK_STATE_FLAG_ACTIVE,
-                                         TRUE);
-
   gtk_style_context_save (context);
 
   path = gtk_widget_path_new ();