Hi,

I have a question.
Docs for gtk_im_context_get_preedit_string () says:
"Retrieve the current preedit string for the input context,
 and a list of attributes to apply to the string."
 but if you look sources you can see:

gtk_im_context_real_get_preedit_string (GtkIMContext       *context,
                                        gchar             **str,
                                        PangoAttrList     **attrs,
                                        gint               *cursor_pos)
//----------------
{
  if (str)
    *str = g_strdup ("");
  if (attrs)
    *attrs = pango_attr_list_new ();
  if (cursor_pos)
    *cursor_pos = 0;
}
//----------------

And str always equal "".

 What for this function needed?



-- 
SY,
 Alek                 mailto:[EMAIL PROTECTED]

_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list

Reply via email to