From c46aca463a9d66cf402ec8c3f9f2e2efc98c42ca Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 24 Oct 2013 20:35:55 -0400 Subject: Respect deprecated button images setting I have been convinced that it is a bad idea to change the behaviour at the same time as deprecating it, so go back to respecting the Gtk/ButtonImages xsetting in buttons created with gtk_button_new_from_stock() when it is set. The setting as well as the function are still deprecated, and the default value of the setting will remain FALSE. --- gdk/x11/gdksettings.c | 1 + 1 file changed, 1 insertion(+) (limited to 'gdk/x11') diff --git a/gdk/x11/gdksettings.c b/gdk/x11/gdksettings.c index e98b33ebd5..6d2f87d60b 100644 --- a/gdk/x11/gdksettings.c +++ b/gdk/x11/gdksettings.c @@ -36,6 +36,7 @@ static const struct { {"Gtk/FontName", "gtk-font-name"}, {"Gtk/KeyThemeName", "gtk-key-theme-name"}, {"Gtk/Modules", "gtk-modules"}, + {"Gtk/ButtonImages", "gtk-button-images"}, {"Gtk/MenuImages", "gtk-menu-images"}, {"Gtk/CursorThemeName", "gtk-cursor-theme-name"}, {"Gtk/CursorThemeSize", "gtk-cursor-theme-size"}, -- cgit v1.2.1