[gtk/kill-containers: 8/76] Cosmetics: Replace GtkContainer in an error message



commit 40f7a0b61698b587d6167c01c25c4efa665eb650
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri May 8 09:13:37 2020 -0400

    Cosmetics: Replace GtkContainer in an error message
    
    GtkWidget is not that much better here, unfortunately.
    
    Adapt the testsuite to match.

 gtk/gtkpango.c                   | 2 +-
 testsuite/gtk/ui/label4.expected | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkpango.c b/gtk/gtkpango.c
index 2ebb3c5d44..aab24878aa 100644
--- a/gtk/gtkpango.c
+++ b/gtk/gtkpango.c
@@ -1365,7 +1365,7 @@ gtk_pango_attribute_start_element (GtkBuildableParseContext  *context,
   else
     {
       _gtk_builder_error_unhandled_tag (data->builder, context,
-                                        "GtkContainer", element_name,
+                                        "GtkWidget", element_name,
                                         error);
     }
 }
diff --git a/testsuite/gtk/ui/label4.expected b/testsuite/gtk/ui/label4.expected
index 6990475c7d..a1b3047eb3 100644
--- a/testsuite/gtk/ui/label4.expected
+++ b/testsuite/gtk/ui/label4.expected
@@ -1,2 +1,2 @@
 ERROR: gtk-builder-error-quark 1
-.:5:15 Unsupported tag for GtkContainer: <blarg>
+.:5:15 Unsupported tag for GtkWidget: <blarg>


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