summary refs log tree commit diff stats
path: root/src/fe-gtk/fe-gtk.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe-gtk/fe-gtk.h')
-rw-r--r--src/fe-gtk/fe-gtk.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/fe-gtk/fe-gtk.h b/src/fe-gtk/fe-gtk.h
index 4e519d9c..fbdb6678 100644
--- a/src/fe-gtk/fe-gtk.h
+++ b/src/fe-gtk/fe-gtk.h
@@ -30,7 +30,6 @@
 
 #ifndef WIN32
 #include <sys/types.h>
-#include <regex.h>
 #endif
 
 #if defined(ENABLE_NLS) && !defined(_)
@@ -102,10 +101,8 @@ struct server_gui
 	gboolean chanlist_match_wants_channel;	/* match in channel name */
 	gboolean chanlist_match_wants_topic;	/* match in topic */
 
-#ifndef WIN32
-	regex_t chanlist_match_regex;	/* compiled regular expression here */
+	GRegex *chanlist_match_regex;	/* compiled regular expression here */
 	unsigned int have_regex;
-#endif
 
 	guint chanlist_users_found_count;	/* users total for all channels */
 	guint chanlist_users_shown_count;	/* users total for displayed channels */