Mercurial > pidgin
view src/dbus-maybe.h @ 11318:519dc2186438
[gaim-migrate @ 13521]
Bits and pieces all over the place. I was hunting down compiler warnings
all over the place, with crazy CFLAGS. I think I might have got a bit
carried away.
I made the perl stuff compile with gcc 2.x (which don't support
mixed declerations and statements), I think what I did was safe but
readily admit I have no clue how all the perl stuff works.
Rename gaim_presence_add_presence() to gaim_presence_add_list() (to match
the header file - obviously nothing actually _uses_ this)
Implement gaim_savedstatus_get_handle() because it's in the header file.
Remove gaim_account_set_presence() from account.h - it's not actually
implemented anywhere, so it can't be that important.
committer: Tailor Script <tailor@pidgin.im>
author | Stu Tomlinson <stu@nosnilmot.com> |
---|---|
date | Sat, 20 Aug 2005 20:17:08 +0000 |
parents | ebb02ea3c789 |
children |
line wrap: on
line source
/* This file contains macros that wrap calls to the gaim dbus module. These macros call the appropriate functions if the build includes dbus support and do nothing otherwise. See "dbus-server.h" for documentation. */ #ifndef _GAIM_DBUS_MAYBE_H_ #define _GAIM_DBUS_MAYBE_H_ #ifdef HAVE_DBUS #include "dbus-server.h" /* this provides a type check */ #define GAIM_DBUS_REGISTER_POINTER(ptr, type) { \ type *typed_ptr = ptr; \ gaim_dbus_register_pointer(typed_ptr, GAIM_DBUS_TYPE(type)); \ } #define GAIM_DBUS_UNREGISTER_POINTER(ptr) gaim_dbus_unregister_pointer(ptr) #else /* !HAVE_DBUS */ #define GAIM_DBUS_REGISTER_POINTER(ptr, type) #define GAIM_DBUS_UNREGISTER_POINTER(ptr) #define DBUS_EXPORT #endif /* HAVE_DBUS */ #endif