[gtk+/treeview-refactor: 239/257] gdk: Update gdk_settings_map for blink timeout to work
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/treeview-refactor: 239/257] gdk: Update gdk_settings_map for blink timeout to work
- Date: Tue, 16 Nov 2010 07:18:06 +0000 (UTC)
commit 038fb4b7e9a7719f59a681c0223683005ac58404
Author: Bastien Nocera <hadess hadess net>
Date: Mon Nov 15 17:02:40 2010 +0000
gdk: Update gdk_settings_map for blink timeout to work
gdk_settings_map needs to be updated when gdk_settings_names is changed,
and it's easier to add the setting at the end, so we don't need to
recalculate everything.
Really fixing:
https://bugzilla.gnome.org/show_bug.cgi?id=634697
gdk/x11/gdksettings.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c
index 1db9ec7..e1c2c56 100644
--- a/gdk/x11/gdksettings.c
+++ b/gdk/x11/gdksettings.c
@@ -51,7 +51,6 @@ static const char gdk_settings_names[] =
"Gtk/ButtonImages\0" "gtk-button-images\0"
"Gtk/MenuImages\0" "gtk-menu-images\0"
"Gtk/MenuBarAccel\0" "gtk-menu-bar-accel\0"
- "Gtk/CursorBlinkTimeout\0" "gtk-cursor-blink-timeout\0"
"Gtk/CursorThemeName\0" "gtk-cursor-theme-name\0"
"Gtk/CursorThemeSize\0" "gtk-cursor-theme-size\0"
"Gtk/ShowInputMethodMenu\0" "gtk-show-input-method-menu\0"
@@ -74,7 +73,8 @@ static const char gdk_settings_names[] =
"Fontconfig/Timestamp\0" "gtk-fontconfig-timestamp\0"
"Net/SoundThemeName\0" "gtk-sound-theme-name\0"
"Net/EnableInputFeedbackSounds\0" "gtk-enable-input-feedback-sounds\0"
- "Net/EnableEventSounds\0" "gtk-enable-event-sounds\0";
+ "Net/EnableEventSounds\0" "gtk-enable-event-sounds\0"
+ "Gtk/CursorBlinkTimeout\0" "gtk-cursor-blink-timeout\0";
static const struct
@@ -125,5 +125,6 @@ static const struct
{ 1487, 1508 },
{ 1533, 1552 },
{ 1573, 1603 },
- { 1636, 1658 }
+ { 1636, 1658 },
+ { 1682, 1705 },
};
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]