~ubuntu-branches/ubuntu/maverick/uim/maverick

« back to all changes in this revision

Viewing changes to emacs/context.c

  • Committer: Bazaar Package Importer
  • Author(s): Masahito Omote
  • Date: 2008-05-18 22:18:10 UTC
  • mfrom: (1.1.8 upstream)
  • mto: This revision was merged to the branch mainline in revision 5.
  • Revision ID: james.westby@ubuntu.com-20080518221810-4d2rd0ca18xnu8kc
Tags: 1:1.5.1-1
* New upstream release
* uim-qt3: Add uim inputcontext plugin for Qt3. And due to uim-*-qt are
  not supported in Qt4 for now officially, uim-*-qt are contained in
  this package.
* uim-qt: Depends uim-qt3 because of described above.
* libuim6: New package for syncing with upstream upgrade soversion.
* 05_qmake_bug_workaround.dpatch: patch for the workaround that qmake does
  not add link option against other libraries(e.g. -lX11) by default.

Show diffs side-by-side

added added

removed removed

Lines of Context:
69
69
  /* discard current context */
70
70
  clear_candidate(ua->cand);
71
71
  clear_preedit(ua->pe);
72
 
  uim_release_context(ua->context);
73
 
  
74
 
  ua->context = create_context(ua->encoding, ua);
75
 
 
76
 
  update_context_im(ua);
77
 
  
 
72
  
 
73
  uim_set_client_encoding(ua->context, ua->encoding);
78
74
}
79
75
 
80
76
 
132
128
        ua->encoding = strdup(encoding);
133
129
 
134
130
        update_context_encoding(ua);
135
 
 
 
131
        update_context_im(ua);
136
132
  }
137
133
 
138
134
  uim_prop_list_update(ua->context);