[bijiben] Settings: fix use-system-font. See 741088
- From: Pierre-Yves Luyten <pyluyten src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bijiben] Settings: fix use-system-font. See 741088
- Date: Thu, 4 Dec 2014 06:58:47 +0000 (UTC)
commit 518e391e6a4304cc21397033757acfce615b04ea
Author: Pierre-Yves Luyten <py luyten fr>
Date: Thu Dec 4 07:58:04 2014 +0100
Settings: fix use-system-font. See 741088
src/bjb-settings-dialog.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/bjb-settings-dialog.c b/src/bjb-settings-dialog.c
index c3d3e06..5e653b5 100644
--- a/src/bjb-settings-dialog.c
+++ b/src/bjb-settings-dialog.c
@@ -88,7 +88,9 @@ on_system_font_toggled (GtkSwitch *button,
settings = self->priv->settings;
- bjb_settings_set_use_system_font (settings, gtk_switch_get_active (button));
+ g_settings_set_boolean (G_SETTINGS (settings),
+ "use-system-font",
+ gtk_switch_get_active (button));
update_buttons (self);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]