diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-09-04 21:24:20 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-09-04 21:24:20 +0200 |
commit | 2820cb893b5a0fb488707c23dcd529552ef0003f (patch) | |
tree | a4662131f5f0de714b654dc547e30d6238f1e878 | |
parent | 527bbe441c788bae626637d7c75b0603d08eceb4 (diff) | |
parent | d6a07daf4ca8c7b16ae332eb8ecc2de93bf4eb46 (diff) | |
download | ayatana-indicator-power-2820cb893b5a0fb488707c23dcd529552ef0003f.tar.gz ayatana-indicator-power-2820cb893b5a0fb488707c23dcd529552ef0003f.tar.bz2 ayatana-indicator-power-2820cb893b5a0fb488707c23dcd529552ef0003f.zip |
Merge branch 'tari01-pr/power-settings-crash'
Attributes GH PR #15: https://github.com/AyatanaIndicators/ayatana-indicator-power/pull/15
-rw-r--r-- | src/utils.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c index 17e3a9c..96a9b1b 100644 --- a/src/utils.c +++ b/src/utils.c @@ -134,7 +134,10 @@ utils_handle_settings_request (void) } } - execute_command (control_center_cmd); + if (control_center_cmd) + { + execute_command(control_center_cmd); + } } gboolean |