summaryrefslogtreecommitdiff
path: root/mate-volume-control/applet-main.c
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-10-19 17:11:01 +0300
committermonsta <[email protected]>2016-10-19 17:13:17 +0300
commit0a285bb3050b9df05e23da59af4e205b5aa7a687 (patch)
treea19c998e8cdfef00a9fb32306a4e62d096ed6588 /mate-volume-control/applet-main.c
parent1ff030a2b103dfe68a8de8259c33808bc011d941 (diff)
downloadmate-media-0a285bb3050b9df05e23da59af4e205b5aa7a687.tar.bz2
mate-media-0a285bb3050b9df05e23da59af4e205b5aa7a687.tar.xz
fix indent
Diffstat (limited to 'mate-volume-control/applet-main.c')
-rw-r--r--mate-volume-control/applet-main.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/mate-volume-control/applet-main.c b/mate-volume-control/applet-main.c
index 883823a..23bef45 100644
--- a/mate-volume-control/applet-main.c
+++ b/mate-volume-control/applet-main.c
@@ -40,7 +40,7 @@ main (int argc, char **argv)
{
GError *error = NULL;
GvcApplet *applet;
- GApplication *app = NULL;
+ GApplication *app = NULL;
GOptionEntry entries[] = {
{ "version", 'v', 0, G_OPTION_ARG_NONE, &show_version, N_("Version of this application"), NULL },
{ "debug", 'd', 0, G_OPTION_ARG_NONE, &debug, N_("Enable debug"), NULL },
@@ -58,7 +58,7 @@ main (int argc, char **argv)
if (error != NULL) {
g_warning ("%s", error->message);
- g_error_free (error);
+ g_error_free (error);
return 1;
}
if (show_version == TRUE) {
@@ -69,14 +69,14 @@ main (int argc, char **argv)
g_setenv ("G_MESSAGES_DEBUG", "all", FALSE);
}
- app = g_application_new (GVC_APPLET_DBUS_NAME, G_APPLICATION_FLAGS_NONE);
+ app = g_application_new (GVC_APPLET_DBUS_NAME, G_APPLICATION_FLAGS_NONE);
- if (!g_application_register (app, NULL, &error)) {
- g_warning ("%s", error->message);
- g_error_free (error);
- return 1;
- }
- if (g_application_get_is_remote (app)) {
+ if (!g_application_register (app, NULL, &error)) {
+ g_warning ("%s", error->message);
+ g_error_free (error);
+ return 1;
+ }
+ if (g_application_get_is_remote (app)) {
g_warning ("Applet is already running, exiting");
return 0;
}