From f47f94be427082c526e6b06b7d5edb44a851579f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Tue, 2 Apr 2013 11:42:54 +0200 Subject: [PATCH] window: Remove call to gtk_widget_reset_rc_styles() First of all, that call is deprecated. Second, we don't have RC styles anymore. Third, what that function does today is invalidate style contexts, but that happens automatically when setting the screen on the style context later. So this function is completely unnecessary. --- gtk/gtkwindow.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 0f5e46bd6a..e59584558b 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -9779,7 +9779,6 @@ gtk_window_set_screen (GtkWindow *window, gtk_window_free_key_hash (window); priv->screen = screen; - gtk_widget_reset_rc_styles (widget); if (screen != previous_screen) { if (previous_screen)