Mercurial > pidgin.yaz
comparison src/gtkmain.c @ 11055:df0241eb602c
[gaim-migrate @ 12996]
Added preliminary DBUS support to gaim, the details are described in
README.dbus.
committer: Tailor Script <tailor@pidgin.im>
author | Piotr Zielinski <zielaj> |
---|---|
date | Sun, 03 Jul 2005 21:48:56 +0000 |
parents | 50224ac8184d |
children | 2eca9ed49469 |
comparison
equal
deleted
inserted
replaced
11054:bc700cc98b82 | 11055:df0241eb602c |
---|---|
68 #ifdef HAVE_STARTUP_NOTIFICATION | 68 #ifdef HAVE_STARTUP_NOTIFICATION |
69 # define SN_API_NOT_YET_FROZEN | 69 # define SN_API_NOT_YET_FROZEN |
70 # include <libsn/sn-launchee.h> | 70 # include <libsn/sn-launchee.h> |
71 # include <gdk/gdkx.h> | 71 # include <gdk/gdkx.h> |
72 #endif | 72 #endif |
73 | |
74 #ifdef HAVE_DBUS | |
75 # include "dbus-server.h" | |
76 #endif | |
77 | |
73 | 78 |
74 #ifdef HAVE_STARTUP_NOTIFICATION | 79 #ifdef HAVE_STARTUP_NOTIFICATION |
75 static SnLauncheeContext *sn_context = NULL; | 80 static SnLauncheeContext *sn_context = NULL; |
76 static SnDisplay *sn_display = NULL; | 81 static SnDisplay *sn_display = NULL; |
77 #endif | 82 #endif |
713 gaim_debug_register_category("gtksound"); | 718 gaim_debug_register_category("gtksound"); |
714 gaim_debug_register_category("prpl"); | 719 gaim_debug_register_category("prpl"); |
715 gaim_debug_register_category("server"); | 720 gaim_debug_register_category("server"); |
716 gaim_debug_register_category("stringref"); | 721 gaim_debug_register_category("stringref"); |
717 | 722 |
723 #ifdef HAVE_DBUS | |
724 /* Starting DBUS */ | |
725 dbus_server_init(); | |
726 #endif | |
727 | |
718 gtk_main(); | 728 gtk_main(); |
719 | 729 |
720 #ifdef _WIN32 | 730 #ifdef _WIN32 |
721 wgaim_cleanup(); | 731 wgaim_cleanup(); |
722 #endif | 732 #endif |