[gnome-terminal/search] No need to pass G_REGEX_MATCH_NOTEMPTY. That's vte's job
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal/search] No need to pass G_REGEX_MATCH_NOTEMPTY. That's vte's job
- Date: Tue, 27 Apr 2010 19:36:31 +0000 (UTC)
commit e65803add214ee351f5dcd9ac2f1fef1a9554208
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue Apr 27 15:35:39 2010 -0400
No need to pass G_REGEX_MATCH_NOTEMPTY. That's vte's job
src/terminal-search-dialog.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-search-dialog.c b/src/terminal-search-dialog.c
index 2c9f1c7..7c365e0 100644
--- a/src/terminal-search-dialog.c
+++ b/src/terminal-search-dialog.c
@@ -359,7 +359,7 @@ terminal_search_dialog_get_regex (GtkWidget *dialog)
g_regex_unref (priv->regex);
/* TODO Error handling */
- priv->regex = g_regex_new (pattern, compile_flags, G_REGEX_MATCH_NOTEMPTY, NULL);
+ priv->regex = g_regex_new (pattern, compile_flags, 0, NULL);
}
if (pattern != text)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]