Re: Nim GTK3 editor
- From: Stefan Salewski <mail ssalewski de>
- To: infirit <infirit gmail com>
- Cc: gtk-list gnome org
- Subject: Re: Nim GTK3 editor
- Date: Sun, 10 Jul 2016 21:46:09 +0200
On Sun, 2016-07-10 at 21:24 +0200, infirit wrote:
Looks like you have not installed your schema globally in
/usr/share/glib-2.0/schemas/. Add --schemadir <dir> where you have
the
schema.
Yes, I followed
cat ~/Downloads/gtk+-3.20.1/examples/application10/main.c
#include <gtk/gtk.h>
#include "exampleapp.h"
int
main (int argc, char *argv[])
{
/* Since this example is running uninstalled,
* we have to help it find its schema. This
* is *not* necessary in properly installed
* application.
*/
g_setenv ("GSETTINGS_SCHEMA_DIR", ".", FALSE);
return g_application_run (G_APPLICATION (example_app_new ()), argc, argv);
gsettings --schemadir "." reset-recursively "org.gtk.ned"
stefan@AMD64X2 ~/nete/NEd $ ./ned test.nim
gtksource.getStyle(style, "text") == nil
Reset of GSettings works fine now :-)
Behaviour of gtk-source-style-scheme-get-style() does not change, maybe that is intended.
Best regards,
Stefan Salewski
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]