summaryrefslogtreecommitdiff
path: root/panels/mouse/test-gnome-mouse-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'panels/mouse/test-gnome-mouse-test.c')
-rw-r--r--panels/mouse/test-gnome-mouse-test.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/panels/mouse/test-gnome-mouse-test.c b/panels/mouse/test-gnome-mouse-test.c
index 096faca4c..da1bade1d 100644
--- a/panels/mouse/test-gnome-mouse-test.c
+++ b/panels/mouse/test-gnome-mouse-test.c
@@ -1,6 +1,7 @@
#include <config.h>
#include <gtk/gtk.h>
+#include "cc-mouse-resources.h"
#include "gnome-mouse-test.h"
static gboolean
@@ -22,10 +23,11 @@ int main (int argc, char **argv)
GError *error = NULL;
gtk_init (&argc, &argv);
+ g_resources_register (cc_mouse_get_resource ());
builder = gtk_builder_new ();
- gtk_builder_add_from_file (builder, "gnome-mouse-test.ui", &error);
+ gtk_builder_add_from_resource (builder, "/org/gnome/control-center/mouse/gnome-mouse-test.ui", &error);
if (error != NULL)
{
g_warning ("Error loading UI file: %s", error->message);