second cumulative gtk2 patch
[claws.git] / src / gtk / gtkstext.h
index 4dcdf1d..4c0de0a 100644 (file)
@@ -38,6 +38,8 @@
 #if (HAVE_WCTYPE_H && HAVE_WCHAR_H)
 #  include <wchar.h>
 #  include <wctype.h>
+#elif (HAVE_WCHAR_H)
+#  include <wchar.h>
 #endif
 
 #include <gdk/gdk.h>
@@ -289,11 +291,14 @@ guint gtk_stext_str_compare               (GtkSText       *text,
                                         guint           start_pos,
                                         guint           text_len,
                                         const gchar    *str);
+gint gtkut_stext_find                  (GtkSText       *text,
+                                        guint           start_pos,
+                                        const gchar    *str,
+                                        gboolean        case_sens);
 gboolean gtk_stext_is_uri_string       (GtkSText       *text,
                                         guint           start_pos,
                                         guint           text_len);
-void gtk_stext_clear                   (GtkSText       *text);
-
+void gtkut_stext_clear                 (GtkSText       *text);
 
 
 #define GTK_STEXT_INDEX(t, index)      (((t)->use_wchar) \