Skip to content

Commit

Permalink
gpm-prefs-core: fix building
Browse files Browse the repository at this point in the history
  • Loading branch information
raveit65 authored and rbuj committed Mar 9, 2021
1 parent 6c59c9f commit 266912b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/gpm-prefs-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -556,8 +556,9 @@ prefs_setup_battery (GpmPrefs *prefs)
g_settings_bind (prefs->priv->settings, GPM_SETTINGS_IDLE_DIM_BATT,
widget, "active",
G_SETTINGS_BIND_DEFAULT);
widget = GTK_WIDGET (gtk_builder_get_object (prefs->priv->builder, "checkbutton_battery_keyboard_reduce"));
g_settings_bind (prefs->priv->settings, GPM_SETTINGS_KBD_BACKLIGHT_BATT_REDUCE,
GET_WIDGET ("checkbutton_battery_keyboard_reduce"), "active",
widget, "active",
G_SETTINGS_BIND_DEFAULT);

if (prefs->priv->has_button_lid == FALSE) {
Expand Down

0 comments on commit 266912b

Please sign in to comment.