[libadwaita/wip/exalm/static-strings: 1/3] entry-row: Add missing G_PARAM_STATIC_STRINGS




commit 5095e917994bcfe39456ce7701fe8fcad5bc10a8
Author: Alexander Mikhaylenko <alexm gnome org>
Date:   Mon Jul 11 18:31:57 2022 +0400

    entry-row: Add missing G_PARAM_STATIC_STRINGS

 src/adw-entry-row.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/adw-entry-row.c b/src/adw-entry-row.c
index ffa63dd0..41e60d28 100644
--- a/src/adw-entry-row.c
+++ b/src/adw-entry-row.c
@@ -463,7 +463,7 @@ adw_entry_row_class_init (AdwEntryRowClass *klass)
       g_param_spec_flags ("input-hints", NULL, NULL,
                           GTK_TYPE_INPUT_HINTS,
                           GTK_INPUT_HINT_NONE,
-                          G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
    * AdwEntryRow:input-purpose: (attributes org.gtk.Property.get=adw_entry_row_get_input_purpose 
org.gtk.Property.set=adw_entry_row_set_input_purpose)
@@ -478,7 +478,7 @@ adw_entry_row_class_init (AdwEntryRowClass *klass)
       g_param_spec_enum ("input-purpose", NULL, NULL,
                          GTK_TYPE_INPUT_PURPOSE,
                          GTK_INPUT_PURPOSE_FREE_FORM,
-                         G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+                         G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   /**
    * AdwEntryRow:enable-emoji-completion: (attributes 
org.gtk.Property.get=adw_entry_row_get_enable_emoji_completion 
org.gtk.Property.set=adw_entry_row_set_enable_emoji_completion)
@@ -493,7 +493,7 @@ adw_entry_row_class_init (AdwEntryRowClass *klass)
   props[PROP_ENABLE_EMOJI_COMPLETION] =
       g_param_spec_boolean ("enable-emoji-completion", NULL, NULL,
                             FALSE,
-                            G_PARAM_READWRITE | G_PARAM_EXPLICIT_NOTIFY);
+                            G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS | G_PARAM_EXPLICIT_NOTIFY);
 
   g_object_class_install_properties (object_class, PROP_LAST_PROP, props);
 


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