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-tree-view.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/trg-torrent-tree-view.c') diff --git a/src/trg-torrent-tree-view.c b/src/trg-torrent-tree-view.c index e52f889..c60f306 100644 --- a/src/trg-torrent-tree-view.c +++ b/src/trg-torrent-tree-view.c @@ -27,10 +27,8 @@ G_DEFINE_TYPE(TrgTorrentTreeView, trg_torrent_tree_view, TRG_TYPE_TREE_VIEW) - -static void -trg_torrent_tree_view_class_init(TrgTorrentTreeViewClass * - klass G_GNUC_UNUSED) +static void trg_torrent_tree_view_class_init(TrgTorrentTreeViewClass * + klass G_GNUC_UNUSED) { } -- cgit v1.2.3