~joel-auterson/ubuntu/maverick/ibus/newmenuname

« back to all changes in this revision

Viewing changes to client/gtk2/ibusimcontext.c

  • Committer: Bazaar Package Importer
  • Author(s): LI Daobing
  • Date: 2009-06-26 22:47:52 UTC
  • mfrom: (1.2.3 upstream) (9 karmic)
  • mto: (6.2.2 squeeze)
  • mto: This revision was merged to the branch mainline in revision 10.
  • Revision ID: james.westby@ubuntu.com-20090626224752-ka1w2t85vuc03252
Tags: 1.2.0.20090617-1
* new upstream release.
* libibus0 -> libibus1:
  - debian/control: rename the package.
  - debian/libibus0.install: removed
  - debian/libibus0.symbols: removed
  - debian/libibus1.install: added
  - debian/libibus1.symbols: added
  - debian/rules: change script of dh_gtkmodules
* debian/ibus-gtk.install: updated.
* debian/control: 
  - ibus conflicts the ibus modules with low version. 
  - bump policy version to 3.8.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
23
23
#include <sys/socket.h>
24
24
#include <sys/time.h>
25
25
#include <sys/un.h>
 
26
#include <string.h>
26
27
#include <ibus.h>
27
28
#include "ibusimcontext.h"
28
29
 
216
217
    case GDK_KEY_RELEASE:
217
218
        retval = ibus_input_context_process_key_event (ibusimcontext->ibuscontext,
218
219
                                                       event->keyval,
 
220
                                                       event->hardware_keycode - 8,
219
221
                                                       event->state | IBUS_RELEASE_MASK);
220
222
        break;
221
223
    case GDK_KEY_PRESS:
222
224
        retval = ibus_input_context_process_key_event (ibusimcontext->ibuscontext,
223
225
                                                       event->keyval,
 
226
                                                       event->hardware_keycode - 8,
224
227
                                                       event->state);
225
228
        break;
226
229
    default:
241
244
static void
242
245
ibus_im_context_class_init     (IBusIMContextClass *klass)
243
246
{
244
 
    const gchar **p;
245
 
 
246
247
    GtkIMContextClass *im_context_class = GTK_IM_CONTEXT_CLASS (klass);
247
248
    GObjectClass *gobject_class = G_OBJECT_CLASS (klass);
248
249
 
421
422
        case GDK_KEY_RELEASE:
422
423
            retval = ibus_input_context_process_key_event (ibusimcontext->ibuscontext,
423
424
                                                           event->keyval,
 
425
                                                           event->hardware_keycode - 8,
424
426
                                                           event->state | IBUS_RELEASE_MASK);
425
427
            break;
426
428
        case GDK_KEY_PRESS:
427
429
            retval = ibus_input_context_process_key_event (ibusimcontext->ibuscontext,
428
430
                                                           event->keyval,
 
431
                                                           event->hardware_keycode - 8,
429
432
                                                           event->state);
430
433
            break;
431
434
        default: