Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(495)

Delta Between Two Patch Sets: bus/registry.c

Issue 5517048: Merge the devel branch (Closed) Base URL: git@github.com:phuang/ibus.git@devel
Left Patch Set: Fix a hotkey related issue Created 13 years, 2 months ago
Right Patch Set: Rebase on HEAD Created 13 years ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « bus/panelproxy.c ('k') | bus/server.c » ('j') | src/ibusbus.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
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 /* bus - The Input Bus 3 /* bus - 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 "registry.h" 22 #include "registry.h"
23
24 #include <gio/gio.h>
23 #include <glib/gstdio.h> 25 #include <glib/gstdio.h>
24 #include <gio/gio.h>
25 #include <stdlib.h> 26 #include <stdlib.h>
26 #include <string.h> 27 #include <string.h>
28
29 #include "dbusimpl.h"
30 #include "global.h"
31 #include "marshalers.h"
27 #include "types.h" 32 #include "types.h"
28 #include "option.h"
29 #include "marshalers.h"
30 #include "dbusimpl.h"
31 33
32 enum { 34 enum {
33 CHANGED, 35 CHANGED,
34 LAST_SIGNAL, 36 LAST_SIGNAL,
35 }; 37 };
36 38
37 static guint _signals[LAST_SIGNAL] = { 0 }; 39 static guint _signals[LAST_SIGNAL] = { 0 };
38 40
39 struct _BusRegistry { 41 struct _BusRegistry {
40 IBusObject parent; 42 IBusObject parent;
(...skipping 610 matching lines...) Expand 10 before | Expand all | Expand 10 after
651 if (connection == NULL) 653 if (connection == NULL)
652 return; 654 return;
653 655
654 factory = bus_factory_proxy_new (connection); 656 factory = bus_factory_proxy_new (connection);
655 if (factory == NULL) 657 if (factory == NULL)
656 return; 658 return;
657 bus_component_set_factory (component, factory); 659 bus_component_set_factory (component, factory);
658 g_object_unref (factory); 660 g_object_unref (factory);
659 } 661 }
660 } 662 }
LEFTRIGHT

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b