Hi,
I have a problem with gtk_im_context_get_surrounding ().
Test case:
#include <gtk/gtk.h>
int
main (int argc, char** argv)
{
GtkIMContext *context;
gint *index;
gchar **text;
gboolean res;
gtk_init (&argc, &argv);
context = gtk_im_multicontext_new ();
res = gtk_im_context_get_surrounding (GTK_IM_CONTEXT(context),text ,index);
if (res)
printf ("\nResult True\n");
}
Output:
Segmentation fault
What's wrong in this case?
What I am doing wrong?
Thanks,
Aleksey.
_______________________________________________
gtk-list mailing list
[EMAIL PROTECTED]
http://mail.gnome.org/mailman/listinfo/gtk-list