diff options
author | Jon Gjengset <jon@thesquareplanet.com> | 2013-09-05 21:21:36 +0100 |
---|---|---|
committer | Jon Gjengset <jon@thesquareplanet.com> | 2013-09-05 21:22:01 +0100 |
commit | 62e2a47d9a1f8d53a6d76aba5631fdd2c80783ea (patch) | |
tree | 3e2f7dfb1f005ccd30d8f449794df83b538a9cc2 | |
parent | Add Arch build file (diff) | |
download | mktrayicon-62e2a47d9a1f8d53a6d76aba5631fdd2c80783ea.tar.gz mktrayicon-62e2a47d9a1f8d53a6d76aba5631fdd2c80783ea.tar.bz2 mktrayicon-62e2a47d9a1f8d53a6d76aba5631fdd2c80783ea.zip |
Make indenting more consistent
-rw-r--r-- | mktrayicon.c | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/mktrayicon.c b/mktrayicon.c index 1a6328e..932a5e1 100644 --- a/mktrayicon.c +++ b/mktrayicon.c @@ -169,11 +169,8 @@ static GtkStatusIcon *create_tray_icon(char *start_icon) GtkStatusIcon *tray_icon; tray_icon = gtk_status_icon_new_from_icon_name(start_icon); - g_signal_connect(G_OBJECT(tray_icon), "activate", - G_CALLBACK(tray_icon_on_click), NULL); - g_signal_connect(G_OBJECT(tray_icon), - "popup-menu", - G_CALLBACK(tray_icon_on_menu), NULL); + g_signal_connect(G_OBJECT(tray_icon), "activate", G_CALLBACK(tray_icon_on_click), NULL); + g_signal_connect(G_OBJECT(tray_icon), "popup-menu", G_CALLBACK(tray_icon_on_menu), NULL); gtk_status_icon_set_visible(tray_icon, TRUE); return tray_icon; @@ -189,12 +186,12 @@ int main(int argc, char **argv) gtk_init(&argc, &argv); if (argc == 4 && strcmp(argv[1], "-i") == 0) { - start_icon = argv[2]; + start_icon = argv[2]; } if (argc == 1) { - /* usage */ - return 0; + /* usage */ + return 0; } icon = create_tray_icon(start_icon); |