summaryrefslogtreecommitdiff
path: root/savers/gs-theme-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'savers/gs-theme-window.c')
-rw-r--r--savers/gs-theme-window.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/savers/gs-theme-window.c b/savers/gs-theme-window.c
index aa35476..089a7f2 100644
--- a/savers/gs-theme-window.c
+++ b/savers/gs-theme-window.c
@@ -178,27 +178,15 @@ gs_theme_window_real_realize (GtkWidget *widget)
return;
}
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_style_set_background (gtk_widget_get_style (widget),
-#else
- gtk_style_set_background (widget->style,
-#endif
window,
GTK_STATE_NORMAL);
gdk_window_set_decorations (window, (GdkWMDecoration) 0);
gdk_window_set_events (window, gdk_window_get_events (window) | event_mask);
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_window (widget, window);
-#else
- widget->window = window;
-#endif
gdk_window_set_user_data (window, widget);
-#if GTK_CHECK_VERSION (3, 0, 0)
gtk_widget_set_realized (widget, TRUE);
-#else
- GTK_WIDGET_SET_FLAGS (widget, GTK_REALIZED);
-#endif
#if GTK_CHECK_VERSION (3, 0, 0)
gdk_window_get_geometry (window, &x, &y, &width, &height);