[Xfce4-commits] [xfce/xfce4-settings] 01/01: display: Remove superfluous lines
noreply at xfce.org
noreply at xfce.org
Sat Nov 24 00:37:57 CET 2018
This is an automated email from the git hooks/post-receive script.
o c h o s i p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository xfce/xfce4-settings.
commit 29c1afacf620db2b93cb8d27636799d162790531
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date: Sat Nov 24 00:37:41 2018 +0100
display: Remove superfluous lines
---
dialogs/display-settings/main.c | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/dialogs/display-settings/main.c b/dialogs/display-settings/main.c
index 440ea06..43278bf 100644
--- a/dialogs/display-settings/main.c
+++ b/dialogs/display-settings/main.c
@@ -1788,11 +1788,8 @@ display_settings_launch_settings_dialogs (GtkButton *button,
GAppInfo *app_info = NULL;
GError *error = NULL;
- g_warning ("trying to launch %s", command);
-
- app_info = g_app_info_create_from_commandline (command, "Xfce Settings",
- G_APP_INFO_CREATE_NONE, NULL);
app_info = g_app_info_create_from_commandline (command, "Xfce Settings", G_APP_INFO_CREATE_NONE, &error);
+
if (G_UNLIKELY (app_info == NULL)) {
g_warning ("Could not find application %s", error->message);
return;
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list