summaryrefslogtreecommitdiff
path: root/plugins/media-keys/test-media-keys.c
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2014-10-15 17:02:11 +0200
committerStefano Karapetsas <[email protected]>2014-10-15 17:02:11 +0200
commite2d9b565b92a0ddb8d1ff8c316d780993ec2838b (patch)
treed819c42fb795727c8b6e48819dc42ae0afd6c11b /plugins/media-keys/test-media-keys.c
parent5381223e7e40031fe3dc033816629b20edb534d1 (diff)
parentbe56b0f8f8ef77296fe12c73985785874dc896c2 (diff)
downloadmate-settings-daemon-e2d9b565b92a0ddb8d1ff8c316d780993ec2838b.tar.bz2
mate-settings-daemon-e2d9b565b92a0ddb8d1ff8c316d780993ec2838b.tar.xz
Merge branch 'libmatemixer'
Diffstat (limited to 'plugins/media-keys/test-media-keys.c')
-rw-r--r--plugins/media-keys/test-media-keys.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/media-keys/test-media-keys.c b/plugins/media-keys/test-media-keys.c
index ce1e18a..51ea1e3 100644
--- a/plugins/media-keys/test-media-keys.c
+++ b/plugins/media-keys/test-media-keys.c
@@ -35,8 +35,7 @@ int
main (int argc,
char **argv)
{
- GError *error;
- gboolean res;
+ GError *error = NULL;
#ifdef ENABLE_NLS
bindtextdomain (GETTEXT_PACKAGE, MATE_SETTINGS_LOCALEDIR);
@@ -46,7 +45,6 @@ main (int argc,
textdomain (GETTEXT_PACKAGE);
#endif
- error = NULL;
if (! gtk_init_with_args (&argc, &argv, NULL, NULL, NULL, &error)) {
fprintf (stderr, "%s", error->message);
g_error_free (error);
@@ -56,7 +54,7 @@ main (int argc,
manager = msd_media_keys_manager_new ();
error = NULL;
- res = msd_media_keys_manager_start (manager, &error);
+ msd_media_keys_manager_start (manager, &error);
gtk_main ();