Re: I hope this is the last Question !!



Hello,

On Fri, 2001-12-28 at 09:12, youssa voila fr wrote:
Hi again,
sorry, but really I can't progress, all right for libgtkembedmoz.so,but i
still have a warning :
  gcc -o moz1 moz.c `gtk-config --cflags --libs` -lgtkembedmoz
  moz.c: In function `main':
  moz.c:25: warning: assignment from incompatible pointer type
  
The line 25 is :   gtk_moz_embed_load_url mozzie, "file:/home/ies/GTK/AideGtk.html"); 

This does compile, doesn't it?  And thus you have a program that
you can run, correct?

I should point out first that your URL won't work.  It should be:

    file:///home/ies/GTK/AideGtk.html

and NOT:

    file:/home/ies/GTK/AideGtk.html




To get rid of the warning try:

    gtk_moz_embed_load_url( GTK_MOZ_EMBED(mozzie),
                            "file:///home/ies/GTK/AideGtk.html"
                          );

Also, change:

    mozzie = gtk_moz_embed_new();

to:

    mozzie = GTK_MOZ_EMBED( gtk_moz_embed_new() );



See if that works.

See ya

     Charles Iliya Krempeaux
     tnt @ linux.ca
     ckrempea @ alumni.sfu.ca





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]