diff options
| author | Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com> | 2011-02-01 14:13:18 +0100 |
|---|---|---|
| committer | Mikkel Kamstrup Erlandsen <mikkel.kamstrup@gmail.com> | 2011-02-01 14:13:18 +0100 |
| commit | c558cdb97fb485d0dc4bca44434be8bf4afae572 (patch) | |
| tree | 4d7dace80ee1ece05cf71497d85c2ceab4d67502 /src | |
| parent | 242d9eb75b246a1d91763f67fe4ac4c542428edd (diff) | |
Lax overly strict DBus name checking in LauncherEntryRemote::SetQuicklist()
(bzr r798.5.11)
Diffstat (limited to 'src')
| -rw-r--r-- | src/LauncherEntryRemote.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LauncherEntryRemote.cpp b/src/LauncherEntryRemote.cpp index d5bce613a..90cc6e10d 100644 --- a/src/LauncherEntryRemote.cpp +++ b/src/LauncherEntryRemote.cpp @@ -302,7 +302,7 @@ LauncherEntryRemote::SetQuicklist(DbusmenuClient *quicklist) g_object_get (quicklist, DBUSMENU_CLIENT_PROP_DBUS_NAME, &new_ql_name, NULL); } - if (g_strcmp0 (new_ql_name, _dbus_name) != 0) + if (quicklist != NULL && g_strcmp0 (new_ql_name, _dbus_name) != 0) { g_critical ("Mismatch between quicklist- and launcher entry owner:" "%s and %s respectively", new_ql_name, _dbus_name); |
