diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-01 04:10:53 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-01 04:11:34 +0800 |
commit | 1533c155164fbba27308b99f33760897544b33ea (patch) | |
tree | 7e0507d3ba4de7c9adbef1f38483c0ed422f95e5 /widgets | |
parent | 7c2e05401bfed572a7253d3da24a30306497d570 (diff) | |
download | gsoc2013-evolution-1533c155164fbba27308b99f33760897544b33ea.tar.gz gsoc2013-evolution-1533c155164fbba27308b99f33760897544b33ea.tar.zst gsoc2013-evolution-1533c155164fbba27308b99f33760897544b33ea.zip |
Avoid gtk_style_attach().
Documentation claims this step is unnecessary with GtkStyleContext,
and indeed the current gtk_style_attach() code does nothing at all.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-map.c | 5 |
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); } |