diff options
author | Jörg Mayer <jmayer@loplof.de> | 2011-07-21 00:16:05 +0000 |
---|---|---|
committer | Jörg Mayer <jmayer@loplof.de> | 2011-07-21 00:16:05 +0000 |
commit | 99e0c43d35cb178d60ae74066b364ad2f98df50b (patch) | |
tree | 712e7b37e75fc83697bd2cecfd7336191a776f23 /gtk/tcp_graph.c | |
parent | ada4a40003bc17b9569c7bd08aef72d1068408eb (diff) |
Replace references to style by gtk_widget_get_style (according to
http://developer.gnome.org/gtk/2.24/GtkWidget.html#gtk-widget-get-style
this doesn't require a minimum version)
svn path=/trunk/; revision=38139
Diffstat (limited to 'gtk/tcp_graph.c')
-rw-r--r-- | gtk/tcp_graph.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/tcp_graph.c b/gtk/tcp_graph.c index 29d570a711..019341341e 100644 --- a/gtk/tcp_graph.c +++ b/gtk/tcp_graph.c @@ -765,7 +765,7 @@ static void create_drawing_area (struct graph *g) g->wp.height = GTK_WIDGET (g->drawing_area)->allocation.height - g->wp.y - g->x_axis->s.height; - g->font = g->drawing_area->style->font_desc; + g->font = gtk_widget_get_style(g->drawing_area)->font_desc; colormap = gtk_widget_get_colormap(GTK_WIDGET(g->drawing_area)); if (!xor_gc) { |