aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--widgets/misc/e-map.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/widgets/misc/e-map.c b/widgets/misc/e-map.c
index b90c4f2e7b..b9f83d811d 100644
--- a/widgets/misc/e-map.c
+++ b/widgets/misc/e-map.c
@@ -579,7 +579,6 @@ e_map_realize (GtkWidget *widget)
GtkAllocation allocation;
GdkWindowAttr attr;
GdkWindow *window;
- GtkStyle *style;
gint attr_mask;
g_return_if_fail (widget != NULL);
@@ -607,10 +606,6 @@ e_map_realize (GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, widget);
- style = gtk_widget_get_style (widget);
- style = gtk_style_attach (style, window);
- gtk_widget_set_style (widget, style);
-
update_render_surface (E_MAP (widget), TRUE);
}