From 62e2a47d9a1f8d53a6d76aba5631fdd2c80783ea Mon Sep 17 00:00:00 2001 From: Jon Gjengset Date: Thu, 5 Sep 2013 21:21:36 +0100 Subject: Make indenting more consistent --- mktrayicon.c | 13 +++++-------- 1 file 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); -- cgit