[Xfce4-commits] <parole:master> Fixed check_menu_item errors.

Sean Davis noreply at xfce.org
Mon Jul 23 17:16:01 CEST 2012


Updating branch refs/heads/master
         to 8545700f2ac9b319fe04459aaae2f9120efc3479 (commit)
       from 6c4f2e6f9b4914d1810a00d02189bfa0983ed3fb (commit)

commit 8545700f2ac9b319fe04459aaae2f9120efc3479
Author: Sean Davis <smd.seandavis at gmail.com>
Date:   Mon Jul 23 11:14:48 2012 -0400

    Fixed check_menu_item errors.

 src/parole-player.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/parole-player.c b/src/parole-player.c
index ed3f1a3..3afffc0 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -2562,7 +2562,7 @@ void parole_player_set_subtitle_radio_menu_item_selected(ParolePlayer *player, g
 	GList *menu_items, *menu_iter;
 	menu_items = gtk_container_get_children( GTK_CONTAINER (player->priv->subtitles_menu) );
 	
-	if (index == 0)
+	if (index <= 0)
 	{
 		gtk_check_menu_item_set_active(GTK_CHECK_MENU_ITEM(menu_items->data), TRUE);
 	}


More information about the Xfce4-commits mailing list