diff options
author | Pablo Barciela <[email protected]> | 2018-07-14 17:09:20 +0200 |
---|---|---|
committer | ZenWalker <[email protected]> | 2018-07-24 01:04:42 +0200 |
commit | 8f04ddd54813ab7871559ab6d800ed0b5726c474 (patch) | |
tree | 091939a260fdae1a0b38014135b3227487f0bc91 | |
parent | 5fbfca99a5316e887608233b111e74d2eec5f5dc (diff) | |
download | mate-utils-8f04ddd54813ab7871559ab6d800ed0b5726c474.tar.bz2 mate-utils-8f04ddd54813ab7871559ab6d800ed0b5726c474.tar.xz |
baobab-chart: avoid deprecated 'gtk_style_context_set_background'
-rw-r--r-- | baobab/src/baobab-chart.c | 4 |
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 | |