[gtk/matthiasc/for-main: 2/5] gtk4-demo: Cosmetics




commit f1177b87ad2502dcedffb686c98737791bce2f8b
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Jun 30 16:08:12 2022 -0400

    gtk4-demo: Cosmetics
    
    Rename the ui file to match the C source, to preserve sanity.

 demos/gtk-demo/demo.gresource.xml                     | 2 +-
 demos/gtk-demo/font_features.c                        | 2 +-
 demos/gtk-demo/{font-features.ui => font_features.ui} | 0
 3 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/demo.gresource.xml b/demos/gtk-demo/demo.gresource.xml
index 849ef462dc..fd2d62a09a 100644
--- a/demos/gtk-demo/demo.gresource.xml
+++ b/demos/gtk-demo/demo.gresource.xml
@@ -376,7 +376,7 @@
     <file>glarea-gles.vs.glsl</file>
   </gresource>
   <gresource prefix="/font_features">
-    <file>font-features.ui</file>
+    <file>font_features.ui</file>
     <file>fontplane.c</file>
   </gresource>
   <gresource prefix="/spinbutton">
diff --git a/demos/gtk-demo/font_features.c b/demos/gtk-demo/font_features.c
index 6fbaf2eec9..d787984431 100644
--- a/demos/gtk-demo/font_features.c
+++ b/demos/gtk-demo/font_features.c
@@ -1348,7 +1348,7 @@ do_font_features (GtkWidget *do_widget)
       gtk_builder_cscope_add_callback (scope, basic_entry_activated);
       gtk_builder_set_scope (builder, scope);
 
-      gtk_builder_add_from_resource (builder, "/font_features/font-features.ui", NULL);
+      gtk_builder_add_from_resource (builder, "/font_features/font_features.ui", NULL);
 
       window = GTK_WIDGET (gtk_builder_get_object (builder, "window"));
       feature_list = GTK_WIDGET (gtk_builder_get_object (builder, "feature_list"));
diff --git a/demos/gtk-demo/font-features.ui b/demos/gtk-demo/font_features.ui
similarity index 100%
rename from demos/gtk-demo/font-features.ui
rename to demos/gtk-demo/font_features.ui


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