summaryrefslogtreecommitdiff
path: root/maximus/main.c
diff options
context:
space:
mode:
authorÉtienne Deparis <[email protected]>2019-04-01 19:48:27 +0200
committerraveit65 <[email protected]>2019-05-10 10:18:54 +0200
commit55c91289c3fcd746d824d0928171484cde3c85f0 (patch)
treead11574f681006bc29a95b78e164baba962d9d08 /maximus/main.c
parentee356868df465f2f256304869359a7320b92ed35 (diff)
downloadmate-netbook-55c91289c3fcd746d824d0928171484cde3c85f0.tar.bz2
mate-netbook-55c91289c3fcd746d824d0928171484cde3c85f0.tar.xz
Cleanup whitespaces
Diffstat (limited to 'maximus/main.c')
-rw-r--r--maximus/main.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/maximus/main.c b/maximus/main.c
index a508367..3470795 100644
--- a/maximus/main.c
+++ b/maximus/main.c
@@ -2,7 +2,7 @@
* Copyright (C) 2008 Canonical Ltd
*
* This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License version 3 as
+ * it under the terms of the GNU General Public License version 3 as
* published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
@@ -39,13 +39,13 @@
static gboolean version = FALSE;
gboolean no_maximize = FALSE;
-GOptionEntry entries[] =
+GOptionEntry entries[] =
{
{
- "version", 'v',
- 0, G_OPTION_ARG_NONE,
- &version,
- "Prints the version number", NULL
+ "version", 'v',
+ 0, G_OPTION_ARG_NONE,
+ &version,
+ "Prints the version number", NULL
},
{
"no-maximize", 'm',
@@ -53,8 +53,8 @@ GOptionEntry entries[] =
&no_maximize,
"Do not automatically maximize every window", NULL
},
- {
- NULL
+ {
+ NULL
}
};
@@ -67,9 +67,9 @@ gint main (gint argc, gchar *argv[])
GdkDisplay *gdk_display;
g_set_application_name ("Maximus");
-
+
gtk_init (&argc, &argv);
-
+
application = g_application_new ("com.canonical.Maximus", G_APPLICATION_FLAGS_NONE);
if (!g_application_register (application, NULL, &error))
@@ -78,7 +78,7 @@ gint main (gint argc, gchar *argv[])
g_error_free (error);
return 1;
}
-
+
if (g_application_get_is_remote(application))
{
return 0;
@@ -88,7 +88,7 @@ gint main (gint argc, gchar *argv[])
g_option_context_add_main_entries (context, entries, "maximus");
g_option_context_add_group (context, gtk_get_option_group (TRUE));
g_option_context_parse (context, &argc, &argv, NULL);
- g_option_context_free(context);
+ g_option_context_free(context);
gdk_display = gdk_display_get_default ();
gdk_x11_display_error_trap_push (gdk_display);