[gnome-terminal/gnome-3-20] client: legacy: Warn if no startup ID provided
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/gnome-3-20] client: legacy: Warn if no startup ID provided
- Date: Mon, 7 Nov 2016 17:39:43 +0000 (UTC)
commit 44da79314a4a8a2d9d93d80f3889ed238bfbcb6e
Author: Christian Persch <chpe src gnome org>
Date: Sun Oct 16 11:27:02 2016 +0200
client: legacy: Warn if no startup ID provided
(cherry picked from commit 52f32f962a5ed34f8c31042f2f8276dc1710cc99)
(cherry picked from commit ede9639021dd0569fc9bd3e08c2dba943bfd34f1)
src/terminal.c | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/terminal.c b/src/terminal.c
index da03cdb..0fad8a9 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -339,6 +339,9 @@ main (int argc, char **argv)
/* Do this here so that gdk_display is initialized */
if (options->startup_id == NULL)
options->startup_id = terminal_client_get_fallback_startup_id ();
+ /* Still NULL? */
+ if (options->startup_id == NULL)
+ g_printerr("Warning: DESKTOP_STARTUP_ID not set and no fallback available.\n");
display = gdk_display_get_default ();
display_name = gdk_display_get_name (display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]