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 d22bffb5..8c36bfca 100644
--- a/baobab/src/baobab-chart.c
+++ b/baobab/src/baobab-chart.c
@@ -1217,12 +1217,8 @@ baobab_chart_get_pixbuf (GtkWidget *widget)
g_return_val_if_fail (BAOBAB_IS_CHART (widget), NULL);
- #if GTK_CHECK_VERSION(3, 0, 0)
w = gdk_window_get_width(gtk_widget_get_window(widget));
h = gdk_window_get_height(gtk_widget_get_window(widget));
- #else
- gdk_drawable_get_size(gtk_widget_get_window(widget), &w, &h);
- #endif
#if GTK_CHECK_VERSION(3, 0, 0)