[libadwaita/wip/exalm/deprecation: 994/994] about-window: Stop using G_REGEX_OPTIMIZE




commit 3ca918d68b37ce45caa2af2b0062e99246995aea
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Thu Jul 14 19:23:42 2022 +0400

    about-window: Stop using G_REGEX_OPTIMIZE
    
    It's deprecated.

 src/adw-about-window.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/adw-about-window.c b/src/adw-about-window.c
index 82abb763..f5cc95ab 100644
--- a/src/adw-about-window.c
+++ b/src/adw-about-window.c
@@ -842,7 +842,7 @@ text_handler (GMarkupParseContext  *context,
   if (!regex) {
     GError *regex_error = NULL;
 
-    regex = g_regex_new ("\\s+", G_REGEX_OPTIMIZE, 0, &regex_error);
+    regex = g_regex_new ("\\s+", 0, 0, &regex_error);
 
     if (regex_error) {
       g_error ("Couldn't compile regex: %s", regex_error->message);


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