From 5563da141e1fd0474f1eeedb967209c55227abae Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Wed, 25 Jan 2012 11:59:32 +0000 Subject: issue 175. make some (incomplete) changes as per the GTK+ best practices document - mainly using a pointer in the public class to access the private object (on a few important classes for now) for performance, and don't use C99 (C99 comments or mixed declarations/statements). --- src/trg-torrent-graph.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/trg-torrent-graph.c') diff --git a/src/trg-torrent-graph.c b/src/trg-torrent-graph.c index 0b47bab..6cd9216 100644 --- a/src/trg-torrent-graph.c +++ b/src/trg-torrent-graph.c @@ -219,8 +219,9 @@ void trg_torrent_graph_set_nothing(TrgTorrentGraph * g) priv->in = priv->out = 0; } -void trg_torrent_graph_set_speed(TrgTorrentGraph * g, - trg_torrent_model_update_stats * stats) +void +trg_torrent_graph_set_speed(TrgTorrentGraph * g, + trg_torrent_model_update_stats * stats) { TrgTorrentGraphPrivate *priv = TRG_TORRENT_GRAPH_GET_PRIVATE(g); -- cgit v1.2.3