Gtk::HTML patch for set_default_content_type




Hi,

I have a small patch for GtkHtml.xs to support the 
set_default_content_type method. It's really simple because I just had 
to add

  void
  gtk_html_set_default_content_type (html, content_type)
       Gtk::HTML       html
       char            *content_type

to GtkHtml.xs.

The patch is attached to this mail. Naturally I would be glad to see 
set_default_content_type() in the next release. ;)

Ken: thanks for your great work. I have a lot of fun coding with 
Gtk-Perl!

Joern

-- 
Joern Reder - joern zyn de
Development Head ZYN! Coding Division - http://www.zyn.de/joe
*** GtkHTML.xs  Sun Aug 19 13:14:03 2001
--- GtkHTML.xs.patched  Sun Aug 19 13:13:59 2001
***************
*** 223,228 ****
--- 223,233 ----
        Gtk::Gdk::Color color
  
  void
+ gtk_html_set_default_content_type (html, content_type)
+       Gtk::HTML       html
+       char            *content_type
+ 
+ void
  gtk_html_enable_debug (html, debug)
        Gtk::HTML       html
        bool    debug


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