[hackers] [surf] Style change in newview(), sort signals order || Quentin Rameau

From: <git_AT_suckless.org>
Date: Sun, 22 Nov 2015 15:35:13 +0100 (CET)

commit b70a966aa6b5c9669029ad0464d467a412f6e266
Author: Quentin Rameau <quinq_AT_fifth.space>
AuthorDate: Sun Nov 22 13:51:05 2015 +0100
Commit: Quentin Rameau <quinq_AT_fifth.space>
CommitDate: Sun Nov 22 13:51:05 2015 +0100

    Style change in newview(), sort signals order

diff --git a/surf.c b/surf.c
index 32c1920..1f3b7db 100644
--- a/surf.c
+++ b/surf.c
_AT_@ -755,26 +755,26 @@ newview(Client *c, WebKitWebView *rv)
                     NULL);
         }
 
+ g_signal_connect(G_OBJECT(v), "notify::estimated-load-progress",
+ G_CALLBACK(progresschanged), c);
         g_signal_connect(G_OBJECT(v), "notify::title",
                          G_CALLBACK(titlechanged), c);
- g_signal_connect(G_OBJECT(v), "mouse-target-changed",
- G_CALLBACK(mousetargetchanged), c);
- g_signal_connect(G_OBJECT(v), "permission-request",
- G_CALLBACK(permissionrequested), c);
+ g_signal_connect(G_OBJECT(v), "button-release-event",
+ G_CALLBACK(buttonreleased), c);
+ g_signal_connect(G_OBJECT(v), "close",
+ G_CALLBACK(closeview), c);
         g_signal_connect(G_OBJECT(v), "create",
                          G_CALLBACK(createview), c);
- g_signal_connect(G_OBJECT(v), "ready-to-show",
- G_CALLBACK(showview), c);
         g_signal_connect(G_OBJECT(v), "decide-policy",
                          G_CALLBACK(decidepolicy), c);
         g_signal_connect(G_OBJECT(v), "load-changed",
                          G_CALLBACK(loadchanged), c);
- g_signal_connect(G_OBJECT(v), "notify::estimated-load-progress",
- G_CALLBACK(progresschanged), c);
- g_signal_connect(G_OBJECT(v), "button-release-event",
- G_CALLBACK(buttonreleased), c);
- g_signal_connect(G_OBJECT(v), "close",
- G_CALLBACK(closeview), c);
+ g_signal_connect(G_OBJECT(v), "mouse-target-changed",
+ G_CALLBACK(mousetargetchanged), c);
+ g_signal_connect(G_OBJECT(v), "permission-request",
+ G_CALLBACK(permissionrequested), c);
+ g_signal_connect(G_OBJECT(v), "ready-to-show",
+ G_CALLBACK(showview), c);
 
         return v;
 }
Received on Sun Nov 22 2015 - 15:35:13 CET

This archive was generated by hypermail 2.3.0 : Sun Nov 22 2015 - 15:36:22 CET