From b46d26b81f7f2be95bad2738b652ca7a3b513d53 Mon Sep 17 00:00:00 2001 From: Mariusz Wasak Date: Wed, 16 Mar 2016 15:45:17 +0100 Subject: [PATCH] playback/player: gtk: Change True to glib TRUE to make gtk player project compile https://github.com/sdroege/gst-player/pull/149 --- playback/player/gtk/gtk-play.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/playback/player/gtk/gtk-play.c b/playback/player/gtk/gtk-play.c index c91693b78f..6bc8fd8ad7 100644 --- a/playback/player/gtk/gtk-play.c +++ b/playback/player/gtk/gtk-play.c @@ -1060,7 +1060,7 @@ create_visualization_menu (GtkPlay * play) item = gtk_radio_menu_item_new_with_label (group, label); group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item)); if (g_strcmp0 (label, cur_vis) == 0) - gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), True); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE); g_object_set_data_full (G_OBJECT (item), "name", label, (GDestroyNotify) g_free); gtk_menu_shell_append (GTK_MENU_SHELL (menu), item); @@ -1075,7 +1075,7 @@ create_visualization_menu (GtkPlay * play) group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (item)); g_object_set_data (G_OBJECT (item), "name", (gpointer) "disable"); if (cur_vis == NULL) - gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), True); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE); g_signal_connect (G_OBJECT (item), "toggled", G_CALLBACK (visualization_changed_cb), play); gtk_menu_shell_append (GTK_MENU_SHELL (menu), sep); @@ -1130,7 +1130,7 @@ create_tracks_menu (GtkPlay * play, GstPlayerMediaInfo * media_info, GType type) g_object_set_data (G_OBJECT (item), "index", GINT_TO_POINTER (index)); g_object_set_data (G_OBJECT (item), "type", GSIZE_TO_POINTER (type)); if (current_index == index) - gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), True); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE); g_free (buffer); g_signal_connect (G_OBJECT (item), "toggled", G_CALLBACK (track_changed_cb), play); @@ -1143,7 +1143,7 @@ create_tracks_menu (GtkPlay * play, GstPlayerMediaInfo * media_info, GType type) g_object_set_data (G_OBJECT (item), "index", GINT_TO_POINTER (-1)); g_object_set_data (G_OBJECT (item), "type", GSIZE_TO_POINTER (type)); if (current_index == -1) - gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), True); + gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (item), TRUE); g_signal_connect (G_OBJECT (item), "toggled", G_CALLBACK (track_changed_cb), play); gtk_menu_shell_append (GTK_MENU_SHELL (menu), sep);