[gtk+] extract-strings: Handle property binding attributes



commit e2949e7bf76ad85d9ccbef3d4c82e0a4641ac02b
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Nov 8 00:08:40 2014 -0500

    extract-strings: Handle property binding attributes
    
    These attributes are now used in at least one place in the
    GtkInspector ui files.

 util/extract-strings.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/util/extract-strings.c b/util/extract-strings.c
index 5dd379e..44acbc2 100644
--- a/util/extract-strings.c
+++ b/util/extract-strings.c
@@ -54,6 +54,9 @@ start_element_handler (GMarkupParseContext  *contexts,
                                    G_MARKUP_COLLECT_STRDUP|G_MARKUP_COLLECT_OPTIONAL, "context", &context,
                                    G_MARKUP_COLLECT_STRDUP|G_MARKUP_COLLECT_OPTIONAL, "comments", &comments,
                                    G_MARKUP_COLLECT_STRING|G_MARKUP_COLLECT_OPTIONAL, "id", NULL,
+                                   G_MARKUP_COLLECT_STRING|G_MARKUP_COLLECT_OPTIONAL, "bind-source", NULL,
+                                   G_MARKUP_COLLECT_STRING|G_MARKUP_COLLECT_OPTIONAL, "bind-property", NULL,
+                                   G_MARKUP_COLLECT_STRING|G_MARKUP_COLLECT_OPTIONAL, "bind-flags", NULL,
                                    G_MARKUP_COLLECT_INVALID);
 
       if (translatable == TRUE)


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