[Xfce4-commits] [apps/parole] 01/01: Replace deprecated gtk_widget_modify_bg

noreply at xfce.org noreply at xfce.org
Sun Jun 29 17:57:28 CEST 2014


This is an automated email from the git hooks/post-receive script.

bluesabre pushed a commit to branch master
in repository apps/parole.

commit 37cb12930adcb901fbd60fb2a57d193c1d5795cb
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Sun Jun 29 11:57:18 2014 -0400

    Replace deprecated gtk_widget_modify_bg
---
 src/parole-player.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index 507dd09..924819c 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -3535,8 +3535,8 @@ parole_player_init (ParolePlayer *player)
 
     #if GTK_CHECK_VERSION(3,8,0)
     #else
-        gdk_color_parse("#080810", &background);
-        gtk_widget_modify_bg(GTK_WIDGET(controls_overlay), GTK_STATE_NORMAL, &background);
+        gdk_rgba_parse (&background, "#080810");
+        gtk_widget_override_background_color(GTK_WIDGET(controls_overlay), GTK_STATE_FLAG_NORMAL, &background);
     #endif
 
     #if GTK_CHECK_VERSION(3,10,0)

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list