gnomeshortcut3-26fix.patch
src/gnomeshortcuts/gnomeshortcuts.cc | ||
---|---|---|
239 | 239 |
"org.gnome.SettingsDaemon", |
240 | 240 |
"/org/gnome/SettingsDaemon/MediaKeys", |
241 | 241 |
"org.gnome.SettingsDaemon.MediaKeys"); |
242 |
if (media_player_keys_proxy == nullptr) |
|
243 |
return false; |
|
242 |
if (media_player_keys_proxy == nullptr){ |
|
243 |
media_player_keys_proxy = dbus_g_proxy_new_for_name (bus, |
|
244 |
"org.gnome.SettingsDaemon.MediaKeys", |
|
245 |
"/org/gnome/SettingsDaemon/MediaKeys", |
|
246 |
"org.gnome.SettingsDaemon.MediaKeys"); |
|
247 |
if (media_player_keys_proxy == nullptr) |
|
248 |
return false; |
|
249 |
} |
|
244 | 250 | |
245 | 251 |
dbus_g_proxy_call (media_player_keys_proxy, |
246 | 252 |
"GrabMediaPlayerKeys", &error, |