[gtk+] gtk-demo: Fix font features sources



commit e1068255b3ddade6ee60c85069dc0b4ff1da1120
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Jan 19 22:45:37 2016 -0500

    gtk-demo: Fix font features sources
    
    The resources had the prefix, causing the ui file not
    to show up.

 demos/gtk-demo/demo.gresource.xml |    2 +-
 demos/gtk-demo/font_features.c    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/demos/gtk-demo/demo.gresource.xml b/demos/gtk-demo/demo.gresource.xml
index 7301b40..9ca8dad 100644
--- a/demos/gtk-demo/demo.gresource.xml
+++ b/demos/gtk-demo/demo.gresource.xml
@@ -200,7 +200,7 @@
     <file>glarea-fragment.glsl</file>
     <file>glarea-vertex.glsl</file>
   </gresource>
-  <gresource prefix="/font-features">
+  <gresource prefix="/font_features">
     <file>font-features.ui</file>
   </gresource>
   <gresource prefix="/spinbutton">
diff --git a/demos/gtk-demo/font_features.c b/demos/gtk-demo/font_features.c
index 4d953f0..a65979a 100644
--- a/demos/gtk-demo/font_features.c
+++ b/demos/gtk-demo/font_features.c
@@ -139,7 +139,7 @@ do_font_features (GtkWidget *do_widget)
       GtkBuilder *builder;
       int i;
 
-      builder = gtk_builder_new_from_resource ("/font-features/font-features.ui");
+      builder = gtk_builder_new_from_resource ("/font_features/font-features.ui");
 
       gtk_builder_add_callback_symbol (builder, "update", update);
       gtk_builder_add_callback_symbol (builder, "reset", reset);


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