gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / desktop / gnome / vino / patches / 01-gcc6.patch
blob7e5d5961069053e799ff24b632baa5206b199b45
1 --- vino-3.22.0/server/vino-status-icon.c.orig 2018-01-22 05:51:37.913217868 +0000
2 +++ vino-3.22.0/server/vino-status-icon.c 2018-01-22 05:56:39.331786308 +0000
3 @@ -100,10 +100,15 @@
5 n_clients = g_slist_length (icon->priv->clients);
7 - tooltip = g_strdup_printf (ngettext ("One person is viewing your desktop",
8 - "%d people are viewing your desktop",
9 - n_clients),
10 - n_clients);
11 + if (n_clients > 1)
12 + {
13 + tooltip = g_strdup_printf ("%d people are viewing your desktop",
14 + n_clients);
15 + }
16 + else
17 + {
18 + tooltip = g_strdup_printf ("One person is viewing your desktop");
19 + }
20 visible = (visible) && ( (icon->priv->visibility == VINO_STATUS_ICON_VISIBILITY_CLIENT) ||
21 (icon->priv->visibility == VINO_STATUS_ICON_VISIBILITY_ALWAYS) );