Merge lp:~townsend/unity/fix-upstart-code-formatting into lp:unity

Proposed by Christopher Townsend
Status: Merged
Approved by: Christopher Townsend
Approved revision: no longer in the source branch.
Merged at revision: 3486
Proposed branch: lp:~townsend/unity/fix-upstart-code-formatting
Merge into: lp:unity
Diff against target: 59 lines (+12/-12)
1 file modified
services/panel-service.c (+12/-12)
To merge this branch: bzr merge lp:~townsend/unity/fix-upstart-code-formatting
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Brandon Schaefer (community) Approve
Review via email: mp+183000@code.launchpad.net

Commit message

Fix the code formatting introduced in revno. 3485.

Description of the change

Fix the code formatting introduced in revno. 3485.

To post a comment you must log in.
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

LGTM

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Christopher Townsend (townsend) wrote :

Jenkins, get your act together...

Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'services/panel-service.c'
2--- services/panel-service.c 2013-08-26 21:47:40 +0000
3+++ services/panel-service.c 2013-08-29 19:41:51 +0000
4@@ -157,11 +157,11 @@
5 if (priv->upstart != NULL)
6 {
7 int event_sent = 0;
8- event_sent = upstart_emit_event_sync(NULL, priv->upstart, "indicator-services-end", NULL, 0);
9+ event_sent = upstart_emit_event_sync (NULL, priv->upstart, "indicator-services-end", NULL, 0);
10 if (event_sent != 0)
11 g_warning("Unable to signal for indicator services to start");
12
13- nih_unref(priv->upstart, NULL);
14+ nih_unref (priv->upstart, NULL);
15 priv->upstart = NULL;
16 }
17
18@@ -486,9 +486,9 @@
19 if (PANEL_IS_SERVICE (self) && self->priv->upstart != NULL)
20 {
21 int event_sent = 0;
22- event_sent = upstart_emit_event_sync(NULL, self->priv->upstart, "indicator-services-start", NULL, 0);
23+ event_sent = upstart_emit_event_sync (NULL, self->priv->upstart, "indicator-services-start", NULL, 0);
24 if (event_sent != 0)
25- g_warning("Unable to signal for indicator services to start");
26+ g_warning ("Unable to signal for indicator services to start");
27 }
28
29 return FALSE;
30@@ -580,22 +580,22 @@
31
32 priv->gsettings = g_settings_new_with_path (COMPIZ_OPTION_SCHEMA, COMPIZ_OPTION_PATH);
33 g_signal_connect (priv->gsettings, "changed::"MENU_TOGGLE_KEYBINDING_KEY,
34- G_CALLBACK(on_keybinding_changed), self);
35+ G_CALLBACK (on_keybinding_changed), self);
36
37 panel_service_update_menu_keybinding (self);
38
39- const gchar * upstartsession = g_getenv("UPSTART_SESSION");
40+ const gchar * upstartsession = g_getenv ("UPSTART_SESSION");
41 if (upstartsession != NULL)
42 {
43 DBusConnection * conn = NULL;
44- conn = dbus_connection_open(upstartsession, NULL);
45+ conn = dbus_connection_open (upstartsession, NULL);
46 if (conn != NULL)
47 {
48- priv->upstart = nih_dbus_proxy_new(NULL, conn,
49- NULL,
50- DBUS_PATH_UPSTART,
51- NULL, NULL);
52- dbus_connection_unref(conn);
53+ priv->upstart = nih_dbus_proxy_new (NULL, conn,
54+ NULL,
55+ DBUS_PATH_UPSTART,
56+ NULL, NULL);
57+ dbus_connection_unref (conn);
58 }
59 }
60