OLD | NEW |
1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ | 1 /* -*- mode: C; c-basic-offset: 4; indent-tabs-mode: nil; -*- */ |
2 /* vim:set et sts=4: */ | 2 /* vim:set et sts=4: */ |
3 /* ibus - The Input Bus | 3 /* ibus - The Input Bus |
4 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> | 4 * Copyright (C) 2008-2010 Peng Huang <shawn.p.huang@gmail.com> |
5 * Copyright (C) 2008-2010 Red Hat, Inc. | 5 * Copyright (C) 2008-2010 Red Hat, Inc. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Lesser General Public | 8 * modify it under the terms of the GNU Lesser General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
11 * | 11 * |
12 * This library is distributed in the hope that it will be useful, | 12 * This library is distributed in the hope that it will be useful, |
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 13 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | 14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
15 * Lesser General Public License for more details. | 15 * Lesser General Public License for more details. |
16 * | 16 * |
17 * You should have received a copy of the GNU Lesser General Public | 17 * You should have received a copy of the GNU Lesser General Public |
18 * License along with this library; if not, write to the | 18 * License along with this library; if not, write to the |
19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, | 19 * Free Software Foundation, Inc., 59 Temple Place - Suite 330, |
20 * Boston, MA 02111-1307, USA. | 20 * Boston, MA 02111-1307, USA. |
21 */ | 21 */ |
22 #include "factoryproxy.h" | 22 #include "factoryproxy.h" |
| 23 |
| 24 #include "dbusimpl.h" |
| 25 #include "global.h" |
| 26 #include "marshalers.h" |
23 #include "types.h" | 27 #include "types.h" |
24 #include "marshalers.h" | |
25 #include "dbusimpl.h" | |
26 #include "option.h" | |
27 | 28 |
28 struct _BusFactoryProxy { | 29 struct _BusFactoryProxy { |
29 IBusProxy parent; | 30 IBusProxy parent; |
30 /* instance members */ | 31 /* instance members */ |
31 }; | 32 }; |
32 | 33 |
33 struct _BusFactoryProxyClass { | 34 struct _BusFactoryProxyClass { |
34 IBusProxyClass parent; | 35 IBusProxyClass parent; |
35 /* class members */ | 36 /* class members */ |
36 }; | 37 }; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 return NULL; | 114 return NULL; |
114 | 115 |
115 gchar *object_path = NULL; | 116 gchar *object_path = NULL; |
116 g_variant_get (retval, "(o)", &object_path); | 117 g_variant_get (retval, "(o)", &object_path); |
117 g_variant_unref (retval); | 118 g_variant_unref (retval); |
118 | 119 |
119 return object_path; | 120 return object_path; |
120 } | 121 } |
121 | 122 |
122 | 123 |
OLD | NEW |