mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 07:48:10 +02:00
More compile fixes for no libnotify case
git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1553 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
b16f8eea16
commit
781e99e38d
1 changed files with 3 additions and 1 deletions
|
|
@ -895,11 +895,13 @@ static void free_device_activated_cb_data (DeviceActivatedCBData *obj)
|
||||||
static void nma_dbus_device_activated_cb (DBusPendingCall *pcall, void *user_data)
|
static void nma_dbus_device_activated_cb (DBusPendingCall *pcall, void *user_data)
|
||||||
{
|
{
|
||||||
DeviceActivatedCBData * cb_data = (DeviceActivatedCBData*) user_data;
|
DeviceActivatedCBData * cb_data = (DeviceActivatedCBData*) user_data;
|
||||||
NMApplet * applet = cb_data->applet;
|
NMApplet * applet = cb_data->applet;
|
||||||
|
#ifdef ENABLE_NOTIFY
|
||||||
char * essid = cb_data->essid;
|
char * essid = cb_data->essid;
|
||||||
NetworkDevice * active_device;
|
NetworkDevice * active_device;
|
||||||
char * message = NULL;
|
char * message = NULL;
|
||||||
char * icon = NULL;
|
char * icon = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
nma_dbus_device_properties_cb (pcall, applet);
|
nma_dbus_device_properties_cb (pcall, applet);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue