diff options
author | TingPing <tingping@tingping.se> | 2013-01-08 13:09:33 -0800 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2013-01-08 13:09:33 -0800 |
commit | c8419ae43a3384da2ffbc30f855eaf45b79c883e (patch) | |
tree | 286916393bf0e7835da0d7debc472b6e6adedb5c /src/fe-gtk/xtext.h | |
parent | 0213f21a46001cedd8b1c2d5e362b359214636d8 (diff) | |
parent | ccc82895edfd1a0c0e7f8d4c18dc2dac720881e8 (diff) |
Merge pull request #359 from RichardHitt/master
Overhaul of URL detection, includes nick, channel, etc
Diffstat (limited to 'src/fe-gtk/xtext.h')
-rw-r--r-- | src/fe-gtk/xtext.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/xtext.h b/src/fe-gtk/xtext.h index 48c71d0c..cc6bbebb 100644 --- a/src/fe-gtk/xtext.h +++ b/src/fe-gtk/xtext.h @@ -179,7 +179,7 @@ struct _GtkXText unsigned char scratch_buffer[4096]; void (*error_function) (int type); - int (*urlcheck_function) (GtkWidget * xtext, char *word, int len); + int (*urlcheck_function) (GtkWidget * xtext, char *word); int jump_out_offset; /* point at which to stop rendering */ int jump_in_offset; /* "" start rendering */ @@ -274,7 +274,7 @@ void gtk_xtext_set_show_separator (GtkXText *xtext, gboolean show_separator); void gtk_xtext_set_thin_separator (GtkXText *xtext, gboolean thin_separator); void gtk_xtext_set_time_stamp (xtext_buffer *buf, gboolean timestamp); void gtk_xtext_set_tint (GtkXText *xtext, int tint_red, int tint_green, int tint_blue); -void gtk_xtext_set_urlcheck_function (GtkXText *xtext, int (*urlcheck_function) (GtkWidget *, char *, int)); +void gtk_xtext_set_urlcheck_function (GtkXText *xtext, int (*urlcheck_function) (GtkWidget *, char *)); void gtk_xtext_set_wordwrap (GtkXText *xtext, gboolean word_wrap); xtext_buffer *gtk_xtext_buffer_new (GtkXText *xtext); |