OSDN Git Service

gdbus: Fix compilation error due to missing #defines
authorSyam Sidhardhan <s.syam@samsung.com>
Wed, 14 Nov 2012 13:07:10 +0000 (18:37 +0530)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 14 Nov 2012 18:23:31 +0000 (20:23 +0200)
commitaa75b8089d86c511ba53e2aef240eb7ebec099cf
tree13e4eecf7946ae19360fe722d12ae37ba6d08f60
parent15749622a337184e040802e81d2d690aca25f917
gdbus: Fix compilation error due to missing #defines

Since these are simple #define strings, we are defining it here
instead of upgrading to D-Bus 1.5 or later.

Log:
  CC     gdbus/object.o
gdbus/object.c: In function ‘properties_set’:
gdbus/object.c:876:7: error: ‘DBUS_ERROR_UNKNOWN_PROPERTY’ undeclared
 (first use in this function)
gdbus/object.c:876:7: note: each undeclared identifier is reported
 only once for each function it appears in
gdbus/object.c:881:6: error: ‘DBUS_ERROR_PROPERTY_READ_ONLY’
 undeclared (first use in this function)
make[1]: *** [gdbus/object.o] Error 1
make: *** [all] Error 2
gdbus/object.c