[gnome-settings-daemon] Replace deprecated GTK_WIDGET_STATE. Bumps gtk+ requirement to 2.18.
- From: Andre Klapper <aklapper src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-settings-daemon] Replace deprecated GTK_WIDGET_STATE. Bumps gtk+ requirement to 2.18.
- Date: Mon, 12 Apr 2010 08:41:44 +0000 (UTC)
commit 6dc92b859b3d0efedc6e5a0bb18046d958199534
Author: Andre Klapper <a9016009 gmx de>
Date: Sun Apr 11 21:29:59 2010 +0200
Replace deprecated GTK_WIDGET_STATE. Bumps gtk+ requirement to 2.18.
configure.ac | 2 +-
plugins/xrandr/gsd-xrandr-manager.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 92f20c8..b84bb5b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -46,7 +46,7 @@ dnl ---------------------------------------------------------------------------
DBUS_GLIB_REQUIRED_VERSION=0.74
GLIB_REQUIRED_VERSION=2.17.3
-GTK_REQUIRED_VERSION=2.16.0
+GTK_REQUIRED_VERSION=2.18.0
GCONF_REQUIRED_VERSION=2.6.1
GIO_REQUIRED_VERSION=2.17.3
GNOME_DESKTOP_REQUIRED_VERSION=2.29.92
diff --git a/plugins/xrandr/gsd-xrandr-manager.c b/plugins/xrandr/gsd-xrandr-manager.c
index 6784156..9788931 100644
--- a/plugins/xrandr/gsd-xrandr-manager.c
+++ b/plugins/xrandr/gsd-xrandr-manager.c
@@ -1603,7 +1603,7 @@ make_menu_item_for_output_title (GsdXrandrManager *manager, GnomeOutputInfo *out
* theme's colors, since the label is always shown against a light
* pastel background. See bgo#556050
*/
- gtk_widget_modify_fg (label, GTK_WIDGET_STATE (label), &black);
+ gtk_widget_modify_fg (label, gtk_widget_get_state (label), &black);
/* Add padding around the label to fit the box that we'll draw for color-coding */
gtk_misc_set_alignment (GTK_MISC (label), 0.0, 0.5);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]