diff options
| author | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-01-29 16:39:13 +0100 |
|---|---|---|
| committer | Marco Trevisan (Treviño) <mail@3v1n0.net> | 2015-01-29 16:39:13 +0100 |
| commit | e5db0e8e11f8a891cc6f79f5979cf59fe765389f (patch) | |
| tree | 564a6d65e6f836511f620a31340f36f31c5d5ae9 /services | |
| parent | 8584a39fa431c85e0a9dd4c5c1b60d6f23d99f0b (diff) | |
PanelService: don't emit invalid panel/entry values
(bzr r3899.2.12)
Diffstat (limited to 'services')
| -rw-r--r-- | services/panel-main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/services/panel-main.c b/services/panel-main.c index 3a4faed30..9a4f7048c 100644 --- a/services/panel-main.c +++ b/services/panel-main.c @@ -293,7 +293,10 @@ on_service_entry_activated (PanelService *service, UPS_PATH, UPS_IFACE, "EntryActivated", - g_variant_new ("(ss(iiuu))", panel_id, entry_id, x, y, w, h), + g_variant_new ("(ss(iiuu))", + panel_id ? panel_id : "", + entry_id ? entry_id : "", + x, y, w, h), &error); if (error) |
