On Sun, Aug 26, 2012 at 11:11 AM, Lanoxx <[email protected]> wrote:
> I have a very weired issue with GSettings in my application:
>
> I am using the following code:
>
>     g_settings_set_boolean (mainapp->settings, key, is_active);
>     if(g_settings_get_has_unapplied (mainapp->settings)) {
>         g_warning("Found unapplied settings");
>     }
>
> The warning is never printed, so I assume that the changes are applied
> directly, but when I restart my application, then all settings are
> forgotten. Is GSettings not supposed to remember the option through a
> restart of the application? Or ist there any other magic involved that I do
> not know about?

Does GSettings say anything about using the memory backend when you
start your app from a terminal?

> Kind Regards
> Lanoxx
> _______________________________________________
> desktop-devel-list mailing list
> [email protected]
> https://mail.gnome.org/mailman/listinfo/desktop-devel-list



-- 
  Jasper
_______________________________________________
desktop-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/desktop-devel-list

Reply via email to