summaryrefslogtreecommitdiff
path: root/src/trg-main-window.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-09-05 22:02:12 +0100
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-09-05 22:02:12 +0100
commit4ba144769b6a1aea5772e19808c755b9dfc60bf8 (patch)
tree9d1babca0fd2bb9d7ae44969bb4435fe196838a1 /src/trg-main-window.c
parent80183c2387c7da5e9f0bf07cf19f6e712d620396 (diff)
update changelog and reindent
Diffstat (limited to 'src/trg-main-window.c')
-rw-r--r--src/trg-main-window.c20
1 files changed, 12 insertions, 8 deletions
diff --git a/src/trg-main-window.c b/src/trg-main-window.c
index 28b91a0..036c81c 100644
--- a/src/trg-main-window.c
+++ b/src/trg-main-window.c
@@ -455,7 +455,8 @@ static void add_url_cb(GtkWidget * w G_GNUC_UNUSED, gpointer data)
TrgMainWindowPrivate *priv = win->priv;
TrgTorrentAddUrlDialog *dlg = trg_torrent_add_url_dialog_new(win,
- priv->client);
+ priv->
+ client);
gtk_widget_show_all(GTK_WIDGET(dlg));
}
@@ -1416,7 +1417,8 @@ trg_torrent_tree_view_visible_func(GtkTreeModel * model,
matchesTracker = (!json
|| !torrent_has_tracker(json,
trg_state_selector_get_url_host_regex
- (priv->stateSelector),
+ (priv->
+ stateSelector),
text));
g_free(text);
if (matchesTracker)
@@ -2615,10 +2617,10 @@ static GObject *trg_main_window_constructor(GType type,
construct_params)
{
TrgMainWindow *self = TRG_MAIN_WINDOW(G_OBJECT_CLASS
- (trg_main_window_parent_class)->constructor
- (type,
- n_construct_properties,
- construct_params));
+ (trg_main_window_parent_class)->
+ constructor(type,
+ n_construct_properties,
+ construct_params));
TrgMainWindowPrivate *priv =
G_TYPE_INSTANCE_GET_PRIVATE(self, TRG_TYPE_MAIN_WINDOW,
TrgMainWindowPrivate);
@@ -2678,7 +2680,8 @@ static GObject *trg_main_window_constructor(GType type,
self, NULL);
priv->torrentTreeView = trg_main_window_torrent_tree_view_new(self,
- priv->filteredTorrentModel);
+ priv->
+ filteredTorrentModel);
g_signal_connect(priv->torrentTreeView, "popup-menu",
G_CALLBACK(torrent_tv_popup_menu_cb), self);
g_signal_connect(priv->torrentTreeView, "button-press-event",
@@ -2732,7 +2735,8 @@ static GObject *trg_main_window_constructor(GType type,
FALSE, FALSE);
gtk_paned_pack2(GTK_PANED(priv->hpaned), my_scrolledwin_new(GTK_WIDGET
- (priv->torrentTreeView)),
+ (priv->
+ torrentTreeView)),
TRUE, TRUE);
g_signal_connect(G_OBJECT(priv->stateSelector),