summaryrefslogtreecommitdiff
path: root/baobab/src/baobab-chart.c
diff options
context:
space:
mode:
Diffstat (limited to 'baobab/src/baobab-chart.c')
-rw-r--r--baobab/src/baobab-chart.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/baobab/src/baobab-chart.c b/baobab/src/baobab-chart.c
index 64eedbcd..c84c14b1 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -304,7 +304,6 @@ baobab_chart_realize (GtkWidget *widget)
gint attributes_mask;
GtkAllocation allocation;
GdkWindow *window;
- GtkStyleContext *context;
g_return_if_fail (BAOBAB_IS_CHART (widget));
@@ -330,9 +329,6 @@ baobab_chart_realize (GtkWidget *widget)
gtk_widget_set_window (widget, window);
gdk_window_set_user_data (window, chart);
- context = gtk_widget_get_style_context (widget);
- gtk_style_context_set_background (context, window);
-
gtk_widget_add_events (widget,
GDK_EXPOSURE_MASK | GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK | GDK_POINTER_MOTION_MASK |