diff options
author | Michal Ratajsky <[email protected]> | 2014-08-18 21:06:59 +0200 |
---|---|---|
committer | infirit <[email protected]> | 2014-10-09 16:53:01 +0200 |
commit | 97facb3e1a1183a872b77bb18e2636b5ec68f1f5 (patch) | |
tree | 68c65328833340846d5c2960ba7b4bb1264e98d8 /mate-volume-control/src/applet-main.c | |
parent | 94bf8fd464923b7a55d3b6447962d91af4c6f09e (diff) | |
download | mate-media-97facb3e1a1183a872b77bb18e2636b5ec68f1f5.tar.bz2 mate-media-97facb3e1a1183a872b77bb18e2636b5ec68f1f5.tar.xz |
Global update
Diffstat (limited to 'mate-volume-control/src/applet-main.c')
-rw-r--r-- | mate-volume-control/src/applet-main.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/mate-volume-control/src/applet-main.c b/mate-volume-control/src/applet-main.c index 1c260fc..48c41a1 100644 --- a/mate-volume-control/src/applet-main.c +++ b/mate-volume-control/src/applet-main.c @@ -50,7 +50,7 @@ main (int argc, char **argv) textdomain (GETTEXT_PACKAGE); gtk_init_with_args (&argc, &argv, - (char *) _(" — MATE Volume Control Applet"), + _(" — MATE Volume Control Applet"), entries, GETTEXT_PACKAGE, &error); @@ -58,18 +58,18 @@ main (int argc, char **argv) g_warning ("%s", error->message); return 1; } - if (show_version) { + if (show_version == TRUE) { g_print ("%s %s\n", argv[0], VERSION); return 0; } app = unique_app_new (GVC_APPLET_DBUS_NAME, NULL); - if (unique_app_is_running (app)) { + if (unique_app_is_running (app) == TRUE) { g_warning ("Applet is already running, exiting"); return 0; } - if (!mate_mixer_init ()) { + if (mate_mixer_init () == FALSE) { g_warning ("libmatemixer initialization failed, exiting"); return 1; } @@ -85,7 +85,5 @@ main (int argc, char **argv) g_object_unref (applet); g_object_unref (app); - mate_mixer_deinit (); - return 0; } |