From: | "Gilles Dartiguelongue (eva)" <eva@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in gnome-extra/contacts/files: contacts-0.9-dbus.patch |
Date: | Fri, 21 Nov 2008 21:54:37 |
Message-Id: | E1L3dxT-0005CB-7n@stork.gentoo.org |
1 | eva 08/11/21 21:54:35 |
2 | |
3 | Added: contacts-0.9-dbus.patch |
4 | Log: |
5 | Fix compilation with USE=-dbus, bug #247519. |
6 | (Portage version: 2.2_rc14/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 gnome-extra/contacts/files/contacts-0.9-dbus.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/contacts/files/contacts-0.9-dbus.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/contacts/files/contacts-0.9-dbus.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: contacts-0.9-dbus.patch |
15 | =================================================================== |
16 | --- a/src/contacts-main.c 2008-06-06 11:26:52.000000000 +0200 |
17 | +++ b/src/contacts-main.c 2008-11-21 23:39:19.436028277 +0100 |
18 | @@ -36,7 +36,9 @@ |
19 | #include "contacts-edit-pane.h" |
20 | #include "contacts-ui.h" |
21 | |
22 | +#ifdef HAVE_DBUS |
23 | #include "contacts-dbus.h" |
24 | +#endif |
25 | |
26 | void |
27 | contacts_update_treeview (ContactsData *data) |
28 | @@ -214,7 +216,9 @@ |
29 | bacon_message_connection_set_callback ( |
30 | mc, (BaconMessageReceivedFunc)contacts_bacon_cb, data); |
31 | |
32 | +#ifdef HAVE_DBUS |
33 | contacts_dbus_init_for_session (data); |
34 | +#endif |
35 | |
36 | /* Set critical errors to close application */ |
37 | //g_log_set_always_fatal (G_LOG_LEVEL_CRITICAL); |